1.0.9 • Published 2 years ago

@bitworks/svelte-split-text-animation v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

svelte split text animation

Using GSAP and Split-type packages animates text when top of the viewport is reached

npm install @bitworks/svelte-split-text-animation

Usage

<script>
import  {SplitText}  from "@bitworks/svelte-split-text-animation";
</script>

<SplitText animationY={'50%'} animationDuration={1} animationStagger={0.3} animationType={'words'} >
  <p>Lorem ipsum dolor sit amet</p>
</SplitText>

Available Parameters

Parameters correspond to gsap and split-type values

ParamsValue
animationY'100%'
animationDuration1
animationType'lines', 'words', 'chars'
animationStagger0.3
1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago