React Status Indicator
LED-style state indicators in the language of equipment front panels and status pages: a colored (optionally pulsing) LED, an uppercase state label, and a monospaced detail line. Includes a StatusBoard panel that lists subsystem states the way a fab or service status page does. State is always carried by the label as well as the color.
Operationaluptime 99.98%
Degradedqueue depth 214
FaultE-4012 overtemp
Maintenanceuntil 14:00 UTC
Offline
Fab 2 — Subsystems
- Lithography clusteroperational24/24 tools
- Etch baydegraded1 chamber down
- Metrologyoperationalqueue 12 min
- Wet bench linemaintenancePM until 14:00
- Ion implanter BfaultE-4012 overtemp
Installation
npx shadcn@latest add status-indicator.json
Usage
Loading...
Props
StatusIndicator
| Prop | Type | Default | Description |
|---|---|---|---|
| status | 'operational' \ | 'degraded' \ | 'fault' \ |
| label | string | — | Uppercase state label |
| detail | string | — | Monospaced secondary line |
| pulse | boolean | true when operational | Animate the LED |
| size | 'sm' \ | 'md' | 'md' |
StatusBoard
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Panel header |
| items | StatusBoardItem[] | — | { name, status, detail? } per row |