Sparkline
One series inline: 80×24, the last point as a dot.
gpt-534
<div className="flex items-center gap-12 text-body text-fg">
<span className="mono text-small">gpt-5</span>
<Sparkline aria-label="Requests over 7 days, rising" values={[12, 18, 15, 22, 28, 26, 34]} />
<span className="tabular">34</span>
</div>import { Sparkline } from "@logicplanes/kaeso-ui";Props
aria-labelstringThe chart's accessible name ("Requests by model").
colorstring = var(--k-viz-1)The line's color (
var(--k-viz-1)by default). PassseriesColor(id)to match the series elsewhere.fluidbooleanFills the container's width at 32px high, without the last point's dot, as in a stat tile. Otherwise it is 80×24.
formatValue((v: number) => string)Writes a value in the tooltip, such as "1,467" or "$2.06".
heightnumberThe height of a fluid sparkline in px; 32 by default.
labelsstring[]One name per value, such as each day; with them the sparkline can be inspected by pointer or arrow keys, with a crosshair and a tooltip.
seriesLabelstringWhat the values are, named in the tooltip.
valuesnumber[]The values in order, oldest first. One value is a dot at the newest end; none is a quiet flat line.