Live indicator
Whether a feed is live, in words and a dot. The dot sends out a soft ring only while live, blinks while reconnecting and rests otherwise, and gives one extra ring for each update you tell it about.
Live3 viewers
Streaming logs0 updates
When to use
- Live dashboards, logs, streams, presence.
- Telling people whether what they see is current.
When not to use
- Saved state; use the sync status.
- Decorative 'online' dots with no connection behind them.
Installation
terminal
pnpm dlx shadcn@latest add @caliper/live-indicator
Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
LiveIndicator
5 props
PropTypeDefaultDescription
state *LiveState—
labelstring—Replaces the state word, e.g. "Streaming".
detailstring—Secondary text, e.g. "updated 4s ago" or "3 viewers".
beatnumber—Change this number to send one ring from the dot, for example on every incoming update. Only while live.
classNamestring—
Keyboard
- No custom key handling; Tab and the native activation keys do the work.
Accessibility
It exposes status semantics, with 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/live-indicator.mdThe index of every part is at /llms.txt.