Skip to content
caliper ui pro docs

Status bar

A row of period blocks coloured by service status.

Pro
Operational
API uptime, last 30 days96.67% uptime

27 operational · 2 degraded · 1 outage

API uptime, last 30 days
PeriodStatusDetail
Day 1Operational
Day 2Operational
Day 3Operational
Day 4Operational
Day 5Operational
Day 6Operational
Day 7Operational
Day 8Outage
Day 9Operational
Day 10Operational
Day 11Operational
Day 12Operational
Day 13Operational
Day 14Operational
Day 15Operational
Day 16Operational
Day 17Operational
Day 18Operational
Day 19Degraded
Day 20Degraded
Day 21Operational
Day 22Operational
Day 23Operational
Day 24Operational
Day 25Operational
Day 26Operational
Day 27Operational
Day 28Operational
Day 29Operational
Day 30Operational

When to use

  • Uptime history on a status page.
  • Any timeline of discrete states.

When not to use

  • Continuous values; use a line chart.

Installation

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

Adds its 5 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

StatusBar

7 props
PropTypeDefault
label *string—
data *readonly StatusPeriod[]—
startLabelstring—
endLabelstring—
loadingboolean—
errorstring—
classNamestring—

statusUptime

0 props

No props of its own; it accepts the native props of its root element.

Keyboard

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

Accessibility

It exposes group and status semantics, with aria-label, aria-busy 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-bar.md

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

More in Category charts