About
An animated inline text element that cycles through a list of words with a spring flip and letter-blur stagger effect, useful for rotating headlines or hero copy.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Word Flip to your project and fits it to your theme.
Code
How Text Word Flip is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextWordFlip } from "@/components/ui/text-word-flip";
export default function TextWordFlipDemo() {
return (
<div className="flex h-screen w-full items-center justify-center bg-background text-foreground px-6">
<p className="font-display text-2xl sm:text-4xl font-semibold text-center leading-tight">
Build{" "}
<TextWordFlip
words={["clean", "crisp", "sharp", "sleek"]}
className="text-[#cd1c18]"
/>{" "}
apps with wensity
</p>
</div>
);
}
















