Animated loading states for waiting while an AI agent works — pixel grid, shimmer label, optional elapsed timer.
Drive
Chevron pixel wave — variant="drive" (default).
Loading…
Installation
CLI
Usage
loading-states.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | "Working" | Work message (shimmer) announced to assistive tech. |
| variant | "drive" · "dots" · "orbit" | "drive" | Pixel grid animation treatment. |
| showElapsed | boolean | true | Show the elapsed duration beside the label. |
| className | string | — | Merge classes on the root. |