About
Perspective text effect that flips each phrase to the next on a 3D hinge with staggered per-character motion and an optional crossfade.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Depth Flip Text to your project and fits it to your theme.
Code
How Depth Flip Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import DepthFlipText from "@/components/ui/depth-flip-text";
export default function DepthFlipTextDemo() {
return (
<div className="w-full bg-white dark:bg-neutral-950">
<DepthFlipText
phrases={[
"Depth in motion",
"Flip on a hinge",
"Line by line",
]}
textColor="#006eff"
backgroundColor="transparent"
loop
/>
</div>
);
}
















