<kern-stat>
Key figure tile: label, large value with unit, optional change and a slot for a sparkline or meta text. Group tiles in a grid (repeat(auto-fit, minmax(180px, 1fr))).
Examples
Key figures
kern-stat shows a label, a large value with unit, and optionally a delta with trend plus meta text. Group tiles in a grid with repeat(auto-fit, minmax(180px, 1fr)).
With a sparkline
The default slot sits below the value, typically a kern-sparkline showing the recent trend.
Properties
deltastring | undefined
Change shown with an arrow, e.g. "2" or "+12 %".
invertboolean
When "more" is bad (errors, offline): up shows danger, down shows ok.
labelstring
metastring | undefined
Text after the delta.
trend"down" | "up" | undefined
Direction of delta.
unitstring | undefined
valuenumber | string
Slots
(default)Below the value: kern-sparkline or meta text