# M encrypted text 1

> Hero headline — large heading decrypts left-to-right on mount

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-encrypted-text-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-encrypted-text-1-light-2366db2fccec3aa1.png
- Registry item: https://ui.cnippet.dev/r/m-encrypted-text-1.json
- Categories: encrypted text
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.cnippet.dev/r/m-encrypted-text-1.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/encrypted-text`

## Files

### `registry/default/motion-variants/m-encrypted-text-1.tsx`

```tsx
"use client";

import { EncryptedText } from "@/registry/default/motion/encrypted-text";

export default function EncryptedTextHero() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <p className="font-semibold text-muted-foreground text-xs uppercase tracking-widest">
        Decrypting
      </p>
      <EncryptedText
        className="font-bold text-4xl text-foreground tracking-tight sm:text-5xl"
        maxIterations={18}
        revealDirection="ltr"
        speed={40}
      >
        Build with motion
      </EncryptedText>
    </div>
  );
}
```
