text animations
Text Reveal
Reveals text word-by-word, character-by-character, or line-by-line with smooth staggered entrance animations.
Installation
Usage
Anatomy
Good to know
childrenmust be a plain string.persplits it into"word","char"or"line"segments.presetis"fade","fade-in-blur","blur","scale"or"slide".- It plays as soon as it mounts. Set
trigger={false}and switch it totrueto start it later, for example withuseInView. speedRevealandspeedSegmentspeed up (above1) or slow down (below1) the stagger and each segment.- Screen readers read the full text once; the segments 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
Examples
Hero Headline
Word-by-word fade-in-blur reveal — the standard pattern for landing page headings. Each word fades and unblurs from below with a fast stagger.
Character Scale
Character-level scale reveal with a tight stagger. Works well for short punchy taglines where individual letter motion creates visual interest.
Stacked Content Block
Three TextReveal instances with sequential delay offsets build a complete section — eyebrow label, headline, and supporting copy each animate in after the previous finishes.