About
A text animation that splits a heading or label into words or characters and lifts each piece into place as its blur clears, either on mount or when it scrolls into view.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Reveal to your project and fits it to your theme.
Code
How Text Reveal is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextReveal } from "@/components/ui/text-reveal";
export default function TextRevealDemo() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center bg-background px-6 py-20">
<TextReveal
as="h2"
text="Split your words into motion."
split="word"
className="max-w-xl text-center text-3xl font-semibold tracking-tight text-foreground sm:text-4xl"
/>
</div>
);
}
















