Curved Loop

Customize Falling Text

Text Content
Highlight Words (comma separated)
Trigger Type
Gravity0.56
Font Size
Mouse Constraint Stiffness0.9

Props

PropertyTypeDefaultDescription
tagstring"p"HTML tag to render
textstring""The text content to animate
classNamestring""Additional class names
delaynumber100Delay between animations for each letter (in ms)
durationnumber0.6Duration of each letter animation (in seconds)
easestring"power3.out"GSAP easing function
splitTypestring"chars"Split type ("chars", "words", "lines", or "words, chars")
fromobject{ opacity: 0, y: 40 }Initial GSAP properties
toobject{ opacity: 1, y: 0 }Target GSAP properties
thresholdnumber0.1Intersection threshold for ScrollTrigger
rootMarginstring"-100px"Root margin for ScrollTrigger
textAlignstring"center"Text alignment
onLetterAnimationCompletefunction-Callback when all animations complete

Dependencies

gsap@gsap/react

Created with ❤️ by Cybershoora