# Scramble Text

Scramble Text is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Two words scramble continuously in a pixel cipher. Hover the container to decrypt them one by one. Mouse out and they snap back to noise.

- Category: Typography
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/scramble-text

## Install

```bash
npx shadcn@latest add @aicanvas/scramble-text
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion geist
```

Fonts: geist/font/pixel|GeistPixelGrid

## Use it

It installs to `components/aicanvas/scramble-text.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import ScrambleText from '@/components/aicanvas/scramble-text'

<ScrambleText />
```

It takes no props.

## About

Scramble Text is two words running a continuous scramble effect, each letter flickering through a constrained glyph set, until you hover the container, at which point they resolve one letter at a time and settle into the real words. Move away and they scramble back into noise. Motion drives both the scramble loop and the reveal sequencing; the glyph set is intentionally constrained so the noise reads as deliberate. Use it for hero headlines, portfolio splash sections, AI-product tags, and any interaction where the act of reading is part of the experience.

Use cases: Hero section, Portfolio, AI product.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Scramble Text rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/scramble-text.

## Related

- [Stack Tower](https://aicanvas.me/components/stack-tower.md): A column of 12 stacked words that reads as a rotating 3D cylinder. 2D transforms skew, scale and shift each row so the rotation travels down the stack. Hover lights one row in warm orange without breaking the rhythm.
- [Good Vibes](https://aicanvas.me/components/good-vibes.md): Interactive typography where letters scale 2x and become bold on hover.
- [Slice Type](https://aicanvas.me/components/slice-type.md): A typographic magic trick. At rest you read one ambiguous word; hover and it splits into two: LIGHT lifting up, NIGHT sinking down, the shared letters resolving into separate glyphs.
- [Ripple Type](https://aicanvas.me/components/ripple-type.md): SVG text animation warped by a turbulence filter. Toggle the fan and letters ripple.
- [Halo Type](https://aicanvas.me/components/halo-type.md): Rotating 3D ring text animation: the front arc reads upright, the back arc upside-down.
