text animations
Vertical Cut Reveal
Text slides up from a hidden clip region — each word or character emerges through an invisible overflow mask, creating a clean editorial reveal effect.
Installation
Usage
Anatomy
Good to know
splitByis"words"(default),"characters","lines"or any separator string.- It plays as soon as it mounts. Set
autoStart={false}and callref.current.startAnimation()to start it yourself;reset()puts it back. reverseslides the pieces down instead of up.- Screen readers read the full text once; the pieces are hidden from them.
- When the user has turned on reduced motion, the text shows in its final state straight away, with no stagger or movement.
Props
Ref API
Examples
Hero Headline
Word-by-word upward reveal for a landing page heading. staggerFrom="first" creates a left-to-right wave.
Character-Level Logotype
Character granularity (splitBy="characters") with staggerFrom="center" fans the reveal outward from the middle — ideal for short brand marks or logotypes.
Stacked Lines with Alternating Direction
Three lines reveal sequentially with increasing delay. Odd-indexed lines use reverse={true} so each line drops in from the opposite direction, creating a rhythmic editorial feel.