Skip to content
caliper ui pro docs

Metric ticker

A strip of live KPIs: each value counts to its new figure, the change is marked in its direction, and a small trace keeps the latest readings. Scrolls sideways on phones.

Pro
  • Sign-ups today1,284Steady
  • MRR$482,300Steady
  • p95 latency212 msSteady
  • Error rate0.42%Steady
  • Users online3,912Steady

When to use

  • The top of an operations or launch dashboard.
  • Four to eight numbers people glance at.

When not to use

  • Static monthly numbers; use stat cards.
  • Values that change many times a second.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/metric-ticker

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

MetricTicker

4 props
PropTypeDefault
metrics *readonly TickerMetric[]—
historynumber24
label *string—
classNamestring—

Keyboard

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

Accessibility

It is built on native elements and keeps aria-label and aria-hidden in step with state.

Notes for AI

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

/docs/components/metric-ticker.md

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

More in Metrics