pacekit

Scramble Text

Text 15

About

A hover-triggered text effect that scrambles and restores its characters with smooth GSAP motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Scramble Text to your project and fits it to your theme.

Code

How Scramble Text is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ScrambleText } from "@/components/ui/scramble-text";

export default function Demo() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center bg-background px-6 text-foreground">
      <ScrambleText className="font-mono text-lg font-medium sm:text-xl xl:text-3xl">
        <p>Hover to scramble what you see</p>
      </ScrambleText>
    </div>
  );
}

Dependencies

More by pacekit

View all
  • AI Response Writer

    AI Response Writer

    364
  • Mouse Wave Text

    Mouse Wave Text

    24
  • Bouncing Text

    Bouncing Text

    23
  • Gradient Shadow

    Gradient Shadow

    16
  • AI Suggestions

    AI Suggestions

    9
  • Squash Text

    Squash Text

    8
  • AI Model Selector

    AI Model Selector

    4
  • Radar Chart Grid Custom

    Radar Chart Grid Custom

    1

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692