Velora UI

Text Reveal

Word-by-word blur reveal on scroll.

  • 0.8 KB gzipped
  • Deps: motion/react
  • Reduced-motion safe
  • Base UI & Radix compatible
Open in v0

Preview

Every word arrives exactly when it should

Installation

pnpm dlx shadcn@latest add https://velora.colorlib.com/r/text-reveal.json

Adds components/velora/text-reveal.tsx, installs motion.

Props

PropTypeDefault
text*

Plain text — revealed word by word

string—
classNamestring—
as"h1" | "h2" | "h3" | "p" | "span""span"
delaynumber0
stagger

Seconds between each word

number0.045
oncebooleantrue

Accessibility

Reduced motion
All words are visible immediately, including before hydration, with no fade, blur or slide.
Keyboard
Decorative — nothing to operate.
Screen readers
The full sentence is read once from an sr-only span; the per-word animated spans are aria-hidden.