About
Headline words spring in from opacity 0 and y 10 with a 0.05 stagger, rebuilt from the official Motion splitText example using motion/react.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Split text to your project and fits it to your theme.
Code
How Split text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import SplitText from "@/components/ui/motion-split-text"
export default function Default() {
return (
<div className="motion-example flex w-full items-center justify-center p-8">
<SplitText />
</div>
)
}
















