# M text shimmer wave 2

> Loading states — fast wave on short strings alongside spinners and pulse indicators

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

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

## Install

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

## Files

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

```tsx
"use client";

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

export default function TextShimmerWaveLoading() {
  return (
    <div className="flex min-h-50 flex-col items-center justify-center gap-6 px-6">
      <div className="flex flex-col items-center gap-3">
        <div className="h-8 w-8 animate-spin rounded-full border-2 border-border border-t-foreground" />
        <TextShimmerWave
          as="p"
          className="font-medium text-sm"
          duration={0.8}
          spread={1.5}
          yDistance={-1.5}
          zDistance={6}
        >
          Generating your component…
        </TextShimmerWave>
      </div>

      <div className="flex items-center gap-2 rounded-full border border-border bg-card px-4 py-2">
        <span className="h-1.5 w-1.5 animate-pulse rounded-full bg-violet-500" />
        <TextShimmerWave
          as="span"
          className="font-medium text-xs"
          duration={0.9}
          spread={1.8}
          yDistance={-1}
          zDistance={5}
        >
          Processing with AI
        </TextShimmerWave>
      </div>
    </div>
  );
}
```
