1.0.9 • Published 10 months ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago