A fixed set of statuses that signal exactly what the assistant is doing, from thinking to tool success — shown here as an at-a-glance status strip.
Loading demo: ai-status-indicator-real-world
npx sdaia-ui@latest add ai-status-indicator
import { AiStatusIndicator } from '@/components/ui/AiStatusIndicator';1<AiStatusIndicator2state="thinking"3variant="brand"4/>
Tinted semantic fill + border — the default appearance.
Loading demo: ai-status-indicator-brand
Neutral fill + border, with a semantic icon only.
Loading demo: ai-status-indicator-neutral
Transparent fill with a semantic border.
Loading demo: ai-status-indicator-outline
Hide the leading icon with showIcon={false}.
Loading demo: ai-status-indicator-without-icon
Prop | Type | Default | Required |
|---|---|---|---|
state | 'thinking' | 'tool-running' | 'tool-success' | 'tool-error' | 'source' | 'model' | 'agent' | 'memory' | 'thinking' | optional |
status | 'thinking' | 'tool-running' | 'tool-success' | 'tool-error' | 'source' | 'model' | 'agent' | 'memory' | — | optional |
variant | 'brand' | 'neutral' | 'outline' | 'brand' | optional |
appearance | 'brand' | 'neutral' | 'outline' | — | optional |
showIcon | boolean | true | optional |
label | ReactNode | — | optional |
labels | Partial<AiStatusIndicatorLabels> | — | optional |
dir | 'ltr' | 'rtl' | — | optional |
How this component behaves at the three system breakpoints. Spacing and type tokens switch automatically at 768px and 1280px.
| Screen | Behavior |
|---|---|
| Desktop (1280px and up) | A pill sized by its label. |
| Tablet (768–1279px) | Same layout as desktop, with the tablet token values. |
| Phone (under 768px) | Same, with the mobile token values. The label does not wrap, so keep it short. |