cnippet/ui
  1. motion
  2. text animations
  3. text reveal

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

  • children must be a plain string. per splits it into "word", "char" or "line" segments.
  • preset is "fade", "fade-in-blur", "blur", "scale" or "slide".
  • It plays as soon as it mounts. Set trigger={false} and switch it to true to start it later, for example with useInView.
  • speedReveal and speedSegment speed up (above 1) or slow down (below 1) 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.