StatusDot
A lit status indicator with a mandatory label.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
A lit status indicator with a mandatory label.
Accessibility
Rendered as a real <table> with header scopes; sortable columns expose aria-sort. Row selection and actions are keyboard reachable.
Install and import
npx shadcn@latest add @prism/status-dot
import { StatusDot } from '@/components/prism/StatusDot';
In a no-build prototype, read it from the bundle instead: const { StatusDot } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
tone | "positive" | "notice" | "negative" | "accent" | "neutral" | "dim" | — | |
children | React.ReactNode | Yes | The label. REQUIRED in practice — a bare coloured dot encodes meaning in hue alone. |
pulse | boolean | — | Slow breathing halo, for a genuinely live state only. |
size | "sm" | "md" | — | |
className | string | — |