Back to Components
Text Effects
Scramble Text
Scrambles characters before resolving into a crisp headline, perfect for dramatic reveals.
Dependencies
- clsx
- tailwind-merge
- framer-motion
Files
- components/ui/scramble-text.tsx
Installation
Using shadcn CLI
npx shadcn add scramble-text --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge framer-motion