Pro
Metrics replay
Rewind a whole dashboard with one scrubber. Every tile rolls to the value at that moment, lines draw solid up to the playhead and dashed after it, and what happened (a deploy, an alert, a rollback) lists as the playhead passes it.
pnpm dlx shadcn@latest add @caliper/metrics-replayWhen to use
Use it for
- Incident reviews and weekly metrics walkthroughs.
- Showing a team what happened across several measures at once.
Skip it when
- A single chart with one story; use the line replay.
- Live monitoring; use the metrics dashboard.
Installation
pnpm dlx shadcn@latest add @caliper/metrics-replay
Adds its 12 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.
Usage
Import it from your copy of the source. The example behind the preview comes with the source.
import { MetricsReplay } from "@/components/ui/metrics-replay"
The worked example comes with Pro
The 37-line example behind the preview opens here, ready to copy.
- 626 Pro parts, blocks and page templates, all with source
- $149 once, with lifetime updates. No renewal
- A full refund within 14 days if it is not for you
API reference
MetricsReplay
component
Accessibility
It is built on native elements and keeps aria-label, aria-hidden and aria-valuetext in step with state.
Motion
It checks prefers-reduced-motion itself and settles immediately instead of travelling. Every state is still reachable.
Related
- Metrics dashboardA row of KPI tiles with change and a time range.
- Line replayA line chart that draws itself over time.
- Incident roomThe room an incident is run in: severity, status and the clock in view, responders paged from a roster, one timeline for notes and public updates, and a postmortem written from it.