0%

text

TextReveal

Reveal text by word, character, or line.

Playground

Scroll-based previews need you to scroll into view.

Live preview

Code

<TextReveal split="word" stagger={0.05} duration={0.6} tilt={45}>
  Words reveal one by one
</TextReveal>

shadcn add

npx shadcn@latest add @void/text-reveal

# Or URL (no .json):
npx shadcn@latest add https://void.ui.unsanity.ai/r/text-reveal

Props

PropTypeDefaultDescription
splitword | char | linewordHow to split text
staggernumber0.05Stagger between units
tiltnumber0rotateX from degrees → 0 on reveal
skewnumber0skewX from degrees → 0 on reveal