About
A text component that animates a string in by character, word, or line using presets like typewriter, scramble, rise, wave, flip, and shimmer.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Animate to your project and fits it to your theme.
Code
How Text Animate is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextAnimate } from "@/components/ui/text-animate";
export default function TextAnimateMultiline() {
return (
<TextAnimate
effect="highlight"
by="word"
loop
duration={4}
className="text-foreground max-w-md text-center text-xl leading-relaxed font-medium"
>
{
"Line breaks are preserved.\nWords wrap and stagger\nacross every line you give it."
}
</TextAnimate>
);
}















