Elements

Reference

Stat

One figure on the page: the label whispers what it is, the value states it plainly in tabular figures, the delta reads the direction in the fixed semantic pigments.

Delta · Description · Label · Root · Value

#StatRoot

A styled part — no props of its own; it takes the anatomy's shared styling.

#StatLabel

A styled part — no props of its own; it takes the anatomy's shared styling.

#StatValue

A styled part — no props of its own; it takes the anatomy's shared styling.

#StatDescription

A styled part — no props of its own; it takes the anatomy's shared styling.

#StatDelta

The delta reads its direction from the direction prop (an explicit data-direction attribute on the consumer side still wins).

PropTypeDefaultDescription
directionString as PropType<"up" | "down" | "flat">"flat"—