Charts
Tracker
Uptime / status grid — each block represents a time unit coloured by status.
Quick Preview
API Service81.1% uptime
Operational
Outage
Degraded
Maintenance
Installation
# No extra dependencies
// Copy component fromsrc/components/charts/Tracker.tsx
Usage
import Tracker from '@/components/charts/Tracker'const data = days.map((d) => ({status: 'up' as const, // 'up' | 'degraded' | 'down'date: d,}))<Tracker data={data} label="API Service" showLegend />
Examples
Database — 90 Day Uptime
Database Cluster70% uptime
Multi-Service Status (30 Days)
Web App90% uptime
CDN83.3% uptime
Auth Service73.3% uptime
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
data* | TrackerItem[] | - | Array of {status, tooltip?, date?} |
label | string | - | Service label shown above tracker |
showLegend | boolean | true | Show status legend |