# M typewriter 2

> Looping phrases — cycles through strings with delete animation

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

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

## Install

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

## Files

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

```tsx
import { Typewriter } from "@/registry/default/motion/typewriter";

export default function TypewriterLoop() {
  return (
    <div className="flex min-h-50 items-center justify-center px-6">
      <h2 className="text-center font-bold text-3xl text-foreground tracking-tight">
        We help teams{" "}
        <span className="text-primary">
          <Typewriter
            deleteSpeed={25}
            loop
            speed={55}
            text={[
              "ship faster",
              "design better",
              "animate beautifully",
              "stay consistent",
            ]}
            waitTime={1800}
          />
        </span>
      </h2>
    </div>
  );
}
```
