Back to Components
Text Effects

Animated Text Reveal

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

No preview available

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