Sparkline
A word-sized trend with no axes and no labels — a line, an area or a run of bars that says which way a number has been going.
tsx
import { Sparkline } from "@pestoui/core"Line, area and bar
The same series three ways. The tone is the only colour decision; the stroke keeps its weight however the box is stretched.
Runs this week
Runs this week
Runs this week
Beside a figure
Next to a visible number the spark is a second telling of the same fact, so leave srLabel off and it stays silent to screen readers. width and height set the box in px.
Runs this week
1,717
Props
Pesto UI · 117 documented components