# M rolling text 1

> Hero headline — letters roll up with tight stagger on mount

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

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

## Install

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

## Files

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

```tsx
"use client";

import { RollingText } from "@/registry/default/motion/rolling-text";

export default function RollingTextHero() {
  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">
        Introducing
      </p>
      <h1 className="font-bold text-4xl text-foreground tracking-tight sm:text-5xl">
        <RollingText direction="up" duration={0.6} staggerDuration={0.04}>
          Design with purpose
        </RollingText>
      </h1>
    </div>
  );
}
```
