Skip to main content

StatusDot

A lit status indicator with a mandatory label.

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When 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​

PropTypeRequiredDescription
tone"positive" | "notice" | "negative" | "accent" | "neutral" | "dim"—
childrenReact.ReactNodeYesThe label. REQUIRED in practice — a bare coloured dot encodes meaning in hue alone.
pulseboolean—Slow breathing halo, for a genuinely live state only.
size"sm" | "md"—
classNamestring—