Tracker

A React component in Beamline's Dashboard category.

A row of status blocks for uptime, job runs or daily checks, with tooltips and a legend.

Use it for

  • Status history over days or runs.

Not for

Anatomy

  • root (a size container)
  • title + summary
  • bars (one period each, or several joined)
  • tooltip (glides from bar to bar)
  • range labels
  • legend (between the range labels on one line when wide)

States

  • ok
  • degraded
  • down (taller)
  • maintenance
  • no data (hatched)
  • narrow: when a bar would be thinner than 4 px, neighbouring periods join into one bar (aligned to the newest, so today's bar is whole) that shows the worst status; its tooltip and accessible name give the range and the counts ("1 outage · 2 operational · 23 min outage")
  • right-to-left: the history keeps oldest → newest left to right (continuous time, O1 D2); ← / → move physically
  • loading (`loading`: the strip, labels and legend as placeholders of their real height; the header shows when title or summary is given, an empty string holds its line)

Keyboard

  • The row is one tab stop (the newest bar first); ←/→ (mirrored in RTL), Home and End move between bars. Each bar is spoken as "period: status, detail" (joined bars: "first – last: counts"); focus shows the tooltip.

Motion

Hover arrives at once: the other bars step back to 60 % (and return over --pui-motion-out). The tooltip appears where it is needed and, while it stays open, glides from bar to bar on the compositor (--pui-duration-fast); it fades over --pui-motion-out when the pointer leaves. Reduced motion: it moves and fades at once.

Props

PropTypeDefaultDescription
data (required){ status, label, detail? }[]—Status blocks in display order. Required.
title / summarystring—title: Heading shown above the content. Defaults to no heading. summary: Summary on the right, e.g. "99.94% uptime".
startLabel / endLabelstring—startLabel: Labels under the first and last block. endLabel: Caption at the final end of the status strip; omitted by default to show no end caption.
legendboolean—Shows labels and colour keys for the data. Defaults to true.
namesPartial<Record<TrackerStatus, string>>—Your words for each status, in the legend and the tooltips: a job history says "Succeeded" and "Failed" where uptime says "Operational" and "Outage". Only the statuses you name change.
style / refCSSProperties / native Ref—style: Inline styles on the documented visual root; no inline overrides by default. ref: Receives the documented root element; no ref by default.
classNamesTrackerClassNames—Classes for the named visual parts; no part overrides by default.
loadingbooleanfalseWhile the history loads: the strip, labels and legend as placeholders of their real height. The header shows when `title` or `summary` is given; an empty string holds its line until the text arrives.
summarystring—Summary on the right, e.g. "99.94% uptime".
titlestring—Heading shown above the content. Defaults to no heading.
startLabelstring—Labels under the first and last block.
endLabelstring—Caption at the final end of the status strip; omitted by default to show no end caption.
classNamestring—Classes on the documented visual root; no override by default.
styleCSSProperties—Inline styles on the documented visual root; no inline overrides by default.
refRef<HTMLDivElement>—Receives the documented root element; no ref by default.

Built from

Used in

Import

import { Tracker } from "@beamline/tracker";

Get it

Tracker is part of Beamline UI. Install the parts you need in your React app as compiled packages or editable source. Get Beamline · Connect your agent

More in Dashboard

  • Explainable total: A total that answers "why this much?" in place: it unfolds into the steps that made it — a waterfall whose bars start where the last step ended, each…
  • Explainable change: A metric whose change explains itself: at rest the value, the change against a named period and a thin ribbon of its causes under the change; opened in…
  • Budget vessels: Budgets as glasses of money: the liquid is what is left (free money on top, committed money as a lighter layer under it), the lip at the period's budget…
  • Insight cards: Findings from an agent, one per page: the sentence, the series it is about with their change, a chart to scrub that names each point, and a follow-up…
  • Metric card: A KPI that fills its tile: label, a value that rolls to each new number, the change with arrow, sign and tone, what it compares with and the value it…
  • Category bar: One bar split into labelled ranges with an optional marker that names its range.
  • Bar list: Ranked horizontal bars, label and value over a meter, one line per row when there is room — top pages, sources, customers.
  • App shell: The frame for every app screen: collapsible sidebar with grouped navigation, top bar and page.

Guides: Build an analytics dashboard in React

Part of Beamline UI: polished, editable React components and complete screens for custom applications. Build your own style from any look; tokens, fonts, radii, motion; not only colours.