# M scramble hover 2

> Hero heading — center reveal direction for a symmetric decode

A shadcn/ui block from the [@cnippet](https://ui.cnippet.dev/) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet/m-scramble-hover-2).

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-scramble-hover-2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-scramble-hover-2-light-439455e92612e630.png
- Registry item: https://ui.cnippet.dev/r/m-scramble-hover-2.json
- Categories: scramble hover
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-scramble-hover-2.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@cnippet/scramble-hover`

## Files

### `registry/default/motion-variants/m-scramble-hover-2.tsx`

```tsx
import { ScrambleHover } from "@/registry/default/motion/scramble-hover";

export default function ScrambleHoverHeading() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <p className="font-medium text-muted-foreground text-sm uppercase tracking-widest">
        Hover to reveal
      </p>
      <ScrambleHover
        className="cursor-pointer text-center font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        maxIterations={14}
        revealDirection="center"
        scrambleSpeed={35}
      >
        Motion-driven design
      </ScrambleHover>
    </div>
  );
}
```
