Skip to content
SENVENLI UI

Tracker

A row of status blocks, one per day or check, for uptime or completion.
Uptime
import { Tracker } from "@senvenli/react/charts";

Examples

With notes and a summary

A block's tooltip says what happened; your own sentence states the result.

Guidelines

When to use it

  • Status over a run of days or checks.

Use something else when

Accessibility

Built in

  • A "Show as table" button shows the same data as a table, which screen readers get by default.

You provide

  • A title that says what the figure is.

API reference

Tracker

title
string

What the chart shows, over it; leave it out when a card or a heading already says so.

aria-label
string

Names the chart when it has no visible title (a card's heading already says what it shows).

period
string
isLoading
boolean
emptyState
React.ReactNode

Shown instead of the plot when there is no data: an EmptyState size="small" or text; "No data" by default.

dataRequired
readonly TrackerDatum[]
statusMapRequired
Readonly<Record<string, { tone: TrackerTone; label: string; }>>

Each status's tone and the word for it ("Operational", "Outage"); the legend follows this order.

summary
string

The result in a sentence ("26 days operational, 1 outage"); the counts per status by default.