Back to Components
Text Effects

Animated Text Reveal

Reveal text by letter or word as it enters the viewport.

PropsUsage ExampleVariations

Word by word

Everyproductdeservesacinematicrevealmoment

Letter by letter

Reveal each character

From below

Animatefromanydirectionyouprefer

Dependencies

  • clsx
  • tailwind-merge
  • framer-motion

Files

  • components/ui/animated-text-reveal.tsx

Installation

Using shadcn CLI

npx shadcn add animated-text-reveal --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge framer-motion

Related Text Effects Components