Chart

StatCard

Headline metric tile with label, value, delta, trend, and inline sparkline.

Preview

Requests / min
2,431
▲ +8%
Error rate
0.42%
▼ -0.1%
p95 latency
128ms
flat

Import

ts
import { StatCard } from '@gautham/design-system/charts'

Usage

tsx
<StatCard label="Requests / min" value="2,431" delta="+8%" trend="up" series={spark} />

Renderer: SVG (hand-rolled)

When not to use

Hero-of-the-dashboard numbers. For a dense table of values, use a Table with inline Sparklines.