Skip to content

Stat

Last updated 27 Oct 2026

NbStat is one figure with its name: a count, a total, a rate. It can say how the figure moved (an arrow and a delta), carry a status colour, and take the reader to the list the number counts.

It is read by its number, so the number is the largest thing in it and the label sits small above. That is the difference from NbCard, which is read by its title.

Try it ​

Movement ​

delta is the change, already formatted. trend draws the arrow and colours the delta: up is good, down is bad. For a figure that should fall, an error rate or a bounce rate, set invert-trend: the arrow still points the way the figure went, and only the colour changes. comparison says what the delta is measured against.

The tile does not format numbers, because only the product knows the unit and the locale. Pass value and delta as the reader should see them.

Loading ​

loading puts a placeholder where the number goes, hides the delta and marks the tile busy, so a row of tiles keeps its shape while the figures arrive.

Headline figure ​

size="lg" is for the one figure a page leads with.