Charts / React chart kit primitives / Progress
StatusStrip
One block per day coloured by health; here ninety days of uptime per service.
React component StatusStrip, data through props. Distance to a target, a budget or a deadline. Tags: status, uptime, strip, days, health, sre, availability.
Install
npm i klar-charts
import 'klar-charts/styles.css'
import { ThemeScope, StatusStrip } from 'klar-charts'
# or copy the source:
npx shadcn@latest add https://klar.run/r/kit-status-strip.json
Usage
<StatusStrip states={uptimeDays(s.id)} height={20} />
Related statusstrip charts
- AreaChart: Lines with optional area fill, dashed comparison series, markers and a hover readout; here a sprint burndown.
- DotMatrix: Values as stacked dots, one column per period, with a highlighted range; here thirty days of revenue.
- TickBars: Thin ticks for a long run of values, brightening from a chosen point onwards.
- DotColumns: One dot per period at its value, with a band marking the usual range.
- Heatmap: A grid of cells shaded by value, with row and column labels; here consults by weekday and hour.
- HatchColumns: Tall columns on hatched tracks with a target line and callouts; here each person’s share of sprint work.