About
A 3D flip-text headline effect that rotates each character to reveal a back face on hover, click, or an imperative trigger, with staggered timing and reduced-motion support.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Flip to your project and fits it to your theme.
Code
How Text Flip is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { TextFlip } from "@/components/ui/text-flip";
export default function TextFlipDemo() {
return (
<div className="flex h-screen w-full items-center justify-center bg-background text-foreground">
<h1 className="text-5xl font-semibold tracking-tight">
<TextFlip text="Hover to flip" />
</h1>
</div>
);
}
















