About
Animated heading whose characters bounce and squash into place with a playful, dynamic GSAP effect.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Squash Text to your project and fits it to your theme.
Code
How Squash Text is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SquashText } from "@/components/ui/squash-text";
export default function SquashTextDemo() {
return (
<div className="flex min-h-[400px] w-full items-center justify-center bg-white p-8">
<SquashText className="text-5xl font-bold tracking-tight text-neutral-900 md:text-7xl">
Squash Text
</SquashText>
</div>
);
}
















