# M rolling text 3

> Navigation links — roll down from above with per-item delay

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

- Page, with a live preview: https://shadcn.exchange/r/cnippet/m-rolling-text-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/cnippet/m-rolling-text-3-light-1c97c57f713174c3.png
- Registry item: https://ui.cnippet.dev/r/m-rolling-text-3.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-3.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-3.tsx`

```tsx
"use client";

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

const navItems = ["Products", "Pricing", "Docs", "Blog"];

export default function RollingTextNav() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-8 px-6">
      <nav className="flex items-center gap-8">
        {navItems.map((item, i) => (
          <a
            className="cursor-pointer font-medium text-muted-foreground text-sm hover:text-foreground"
            href="#"
            key={item}
            onClick={(e) => e.preventDefault()}
          >
            <RollingText
              delay={i * 0.07}
              direction="down"
              duration={0.45}
              staggerDuration={0.025}
              transition={{ ease: [0.23, 1, 0.32, 1] }}
            >
              {item}
            </RollingText>
          </a>
        ))}
      </nav>
      <p className="text-muted-foreground text-xs">
        direction="down" — letters roll in from above
      </p>
    </div>
  );
}
```
