StateBadge
stableColor-coded uppercase badge for the six canonical AI interaction states (loading, thinking, acting, confirming, error, recovery)
import { StateBadge } from "@nodus/design-system/patterns"Demo coming soon
Props
| Prop | Type | Default | Description |
|---|---|---|---|
statereq | 'loading' | 'thinking' | 'acting' | 'confirming' | 'error' | 'recovery' | — | The AI interaction state to display. |
staterequiredType
'loading' | 'thinking' | 'acting' | 'confirming' | 'error' | 'recovery'Default —The AI interaction state to display.
Design Rationale
This component was designed to express:
Explore Related
StateIndicator→
Animated dot indicator for AI interaction states — CSS-only animations with prefers-reduced-motion support
ScenarioScript→
Linear step sequence for documenting agent interaction flows — shows state badge, copy, and annotation per step
AgencyIndicator→
5-level agency scale from autonomous to human-controlled
Was this helpful?