GSAP SplitText
freeSplits text into lines, words and characters (with masks) for staggered reveal animations.

Try these
Torph
Animated text morphing: labels change letter by letter instead of swapping.
useScramble
1 KB React hook that scrambles text through random characters before settling (decrypt effect).
GSAP
Timeline animation engine with ScrollTrigger, SplitText, Flip and MorphSVG, now free including every plugin.
Lenis
Smooth, inertia-based wheel scrolling that keeps native scroll position, sticky and anchors working.
Looks that pick it
Art decofirst pickMagazinefirst pickKinetic typographyfirst pickOversized typefirst pickConstructivismfirst pickAnti-designfirst pickMaximalismfirst pickGrungefirst pickPop art / comic
For your agent
Install
npm i gsapUse it for
- a hero headline that rises line by line out of a mask
- editorial section titles that reveal by word as they scroll into view
- character-level kinetic type on a brand or portfolio site
- a typewriter headline whose characters appear one at a time (stagger the chars)
Skip it when
- app UI and labels: splitting text in product UI is distracting; use torph for label changes
- body copy or long paragraphs: animate the block's opacity instead
- you only want balanced headline wrapping: use CSS text-wrap: balance, no library
What's inside10 free
- SplitText.create()
- Chars
- Words
- Lines
- Masks
- autoSplit
- onSplit()
- revert()
- smartWrap
- aria
Facts
- Frameworks
- vanilla, react, vue, svelte, solid, angular
- Styling
- unstyled
- Weight
- small
- Accessibility
- ok
- Maturity
- established
- License
- GSAP Standard 'no charge' license (free, commercial use allowed)
- Price
- Free
Alternatives
import gsap from 'gsap'
import { SplitText } from 'gsap/SplitText'
gsap.registerPlugin(SplitText)
SplitText.create('.headline', {
type: 'lines',
mask: 'lines',
autoSplit: true,
onSplit: (self) => gsap.from(self.lines, { yPercent: 100, stagger: 0.08, duration: 0.8, ease: 'expo.out' }),
})https://gsap.com/docs/v3/Plugins/SplitText
This site doesn't allow being shown inside another page. Here is how it looks.
Open in a new tab