# M text shimmer 1

> Hero headline — slow sweep on a large heading

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

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

## Install

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

## Files

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

```tsx
"use client";

import { TextShimmer } from "@/registry/default/motion/text-shimmer";

export default function TextShimmerHero() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-3 px-6">
      <TextShimmer
        as="h1"
        className="font-bold text-4xl tracking-tight sm:text-5xl"
        duration={2.5}
        spread={3}
      >
        Build beautiful interfaces
      </TextShimmer>
      <p className="text-muted-foreground text-sm">
        Continuously shimmering headline
      </p>
    </div>
  );
}
```
