Skip to content
caliper ui docs
DemoGet Pro

Status signal

Health in three lamps: down, degraded, healthy. Unlit lamps are hairline rings and the one that applies is filled, so the position reads before the colour does. Running breathes the middle lamp and idle fills none, and the state is always written beside it.

Free
Healthy
Healthy
Degraded
Down
Running
Idle

When to use

  • Service health, build and deploy status, queue state.
  • Rows where a single coloured dot is too faint to read at a glance.

When not to use

  • More than five states; use a `Badge` per state instead.
  • Colour as the only signal; the word beside the lamps is part of the design.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/status-signal

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. No account needed. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

StatusSignal

3 props

Also accepts the native props of its root element and a ref.

PropTypeDefaultDescription
state *SignalState—
labelstring—The word beside the lamps. Defaults to a plain name for the state; pass "" to show the lamps only.
orientation"vertical" | "horizontal""horizontal"

Keyboard

  • No custom key handling; Tab and the native activation keys do the work.

Accessibility

It exposes status semantics, with aria-label and aria-hidden kept in step with state. Changes that matter are announced through a live region.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/status-signal.md

The index of every part is at /llms.txt.

More in Changing values