pacekit

Squash Text

Text 8

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>
  );
}

Dependencies

More by pacekit

View all
  • AI Response Writer

    AI Response Writer

    364
  • Bouncing Text

    Bouncing Text

    23
  • Mouse Wave Text

    Mouse Wave Text

    21
  • Gradient Shadow

    Gradient Shadow

    16
  • Scramble Text

    Scramble Text

    14
  • AI Suggestions

    AI Suggestions

    9
  • Motion Scroll Area

    Motion Scroll Area

  • GitHub Star Counter

    GitHub Star Counter

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    134
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    9
  • Text Reveal

    Text Reveal

    31
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Scroll Fill Headline

    Scroll Fill Headline

    44
  • Shine Border

    Shine Border

    1K
  • Split text

    Split text

    79
  • Motion Blur Text

    Motion Blur Text

    47