About
A headline or short sentence that animates in word by word, each word rising out of a soft blur, on mount or page load.
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-[220px] w-full items-center justify-center bg-background p-10">
<TextReveal
text="Reveal a short piece of content with restrained motion."
as="h2"
className="text-center text-3xl font-medium tracking-tight"
/>
</div>
);
}
















