presentation/widgets/components/kpi_card library

Classes

KpiCard
Editorial KPI card. Hairline-bordered surface tile with a mono-uppercase label, a big italic Instrument Serif numeral, and an optional delta row (arrow + magnitude + unit) and/or sparkline below.
KpiDelta
A change-since-last-period chip rendered next to the KPI value.
SparklineSlot
A simple polyline sparkline drawn at the card's full width. Pass values in any range — the painter normalizes to its own bounds. Pass color to override the default t.ochre.

Enums

KpiDeltaDirection
Direction of the change captured by a KpiDelta.