---
title: "Text Shimmer Wave"
description: "A status line such as Thinking, whose letters brighten and lift in a wave that loops while work goes on."
url: https://gelatinui.com/components/text-shimmer-wave
markdown_url: https://gelatinui.com/components/text-shimmer-wave.md
access: free
install: "npx shadcn@latest add @gelatin-ui/text-shimmer-wave"
registry_item: https://gelatinui.com/r/text-shimmer-wave.json
version: "2026-11-14"
index: https://gelatinui.com/llms.txt
docs_index: https://gelatinui.com/docs/llms.txt
---

# Text Shimmer Wave

> A status line such as Thinking, whose letters brighten and lift in a wave that loops while work goes on.

Page: https://gelatinui.com/components/text-shimmer-wave

## When to use it

Best for: A short status line that shows work goes on, such as Thinking in an AI chat.

- Set `active` to `false` when the work ends: the text shows full and still.
- Put it in an `output` element (or another status), with a Spinner next to it when the wait can be long.
- Drive `paused` from a control of the page when the wave can run for more than 5 seconds.

## When not to use it

- For a plain loading ring with no words, use [Spinner](https://gelatinui.com/components/spinner.md).
- For the shape of content that loads, use [Skeleton](https://gelatinui.com/components/skeleton.md).
- For a status mark with a check or an error at the end, use [Status Icon](https://gelatinui.com/components/status-icon.md).

## Notes for agents

- `children` must be a string. `active` (default true) runs the wave; off shows the text full and still.
- The wave is one CSS animation per letter: no JavaScript per frame and no render. The letters rest at 50% opacity and reach full opacity and 0.12em up in the wave.
- Each letter starts 60ms after the letter before it, less for a long text, so the wave crosses any line in 1.2s at most. The loop is 2s.
- The wave stops off screen, in a hidden tab, while `paused` is true, and while a mouse is over it or keyboard focus is on the link or button around it (`pauseOnHover`, default true). A held wave stays in step.
- `paused`, `defaultPaused`, and `onPausedChange` are the controlled and uncontrolled pause.
- With letters, the root names the text in one piece (`aria-label`), so a screen reader does not spell it. An `aria-label` prop wins.
- Words stay whole when the line wraps. Arabic and other joined scripts move by word; emoji and accented letters stay whole.

## Anatomy

```text
TextShimmerWave
```

## API reference

### TextShimmerWave

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `locale` | `string` |  | The BCP 47 locale for the letter and word split (`Intl.Segmenter`). Default: the `DisplayLocaleProvider` locale, else `"en-US"`. |
| `paused` | `boolean` |  | The pause of the user or the page (controlled). |
| `defaultPaused` | `boolean` |  | The first pause when `paused` is not given (uncontrolled). Default false. |
| `onPausedChange` | `function` |  | Called when the pause changes. |
| `pauseOnHover` | `boolean` |  | Hold the motion while a mouse is over the item, or keyboard focus is on the link or button around it (or in it). Default true. |
| `children` | `string` |  | The status text, such as "Thinking" or "Searching the docs". |
| `active` | `boolean` | true | The wave runs. Set it to `false` when the work ends: the text shows full and still. |

## Styling

| Part | Slot | States | CSS variables | Tokens |
| --- | --- | --- | --- | --- |
| TextShimmerWave | `text-shimmer-wave` | `data-active`, `data-paused` | `--motion-ease-sine`, `--shimmer-wave-index`, `--shimmer-wave-period`, `--shimmer-wave-step` | `motion-timing` |

## Usage

Put the status words in it, next to a Spinner. Set `active` to `false` when the work ends.

The sample also uses `spinner`, which this add does not write. One command adds them with this item:

```bash
npx shadcn@latest add @gelatin-ui/text-shimmer-wave @gelatin-ui/spinner
```

```tsx title="answer-status.tsx"
import { TextShimmerWave } from "@/components/text/text-shimmer-wave";
import { Spinner } from "@/components/ui/spinner";

type AnswerStatusProps = {
  running: boolean;
};

export function AnswerStatus({ running }: AnswerStatusProps) {
  return (
    <output className="flex items-center gap-2 text-sm text-muted-foreground">
      {running ? <Spinner /> : null}
      <TextShimmerWave active={running}>
        {running ? "Comparing the plans" : "Answer ready"}
      </TextShimmerWave>
    </output>
  );
}
```

## Compose

Rules:

- Compose the parts (`compose-parts`): Build each item from its named parts as children, and pass your text and icons in as parts.
- Every state is designed (`every-state`): Give each view of data its loading, empty, and error states: a skeleton in the final layout, an `Empty` with an illustration and one next action, and an error that says what failed and how to retry.

## Add it

```bash
npx shadcn@latest add @gelatin-ui/text-shimmer-wave
```

It adds 16 registry items: 15 files, 2305 lines, and the npm packages `@mantine/hooks`, `clsx`, `tailwind-merge`.

## For AI agents

- Every item, one file: https://gelatinui.com/llms.txt
- MCP server (`search_items`, `get_item`, `get_install_plan`): https://gelatinui.com/mcp

## Related

- [Spinner](https://gelatinui.com/components/spinner.md)
- [Skeleton](https://gelatinui.com/components/skeleton.md)
- [Status Icon](https://gelatinui.com/components/status-icon.md)
- [Text Sparkles](https://gelatinui.com/components/text-sparkles.md)

## Motion

| Part | Motion |
| --- | --- |
| Wave | sine · 2s loop · ease-sine (0.42, 0, 0.58, 1) · each letter goes from 50% to full opacity and 0.12em up in the first quarter of the loop, then rests |
| Stagger | sine · each letter starts 60ms after the letter before it, less for a long text, so the wave crosses the line in 1.2s at most |
