Klar

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