Home/Components/Numeric cell

Numeric cell

The right-aligned mono cell inside a table. Money, weights, percentages — anything where digits should line up.

Stable .num-cell Tabular numsRight-aligned

Usage

SKUCostPriceMarginOn hand
Mealie meal 10kg$ 6.40$ 8.2021.9 %182
Mazoe Orange 2L$ 3.20$ 4.5028.9 %96
Pro-bake bread$ 1.10$ 1.5026.7 %12
Cooking oil 750ml$ 2.20$ 3.2031.3 %144
Numeric cells in a table

Tonal hints

Use tonal colour to flag positive (margin up), negative (margin down), or warning.

BranchRevenue todayvs Tue avgOn hand
Park Centre$ 2,816▲ 12.4 %$ 184k
Avondale$ 1,492▼ 8.1 %$ 108k
Glen Lorne$ 988$ 64k
Tonal hints

Do & don't

Do

Right-align. Mono font. Tabular numerals. Always.

Don't

Mix mono and proportional digits in the same column.

Do

Use the tonal color sparingly — only for the delta column, not the absolute number.

Don't

Strip trailing zeros. "$ 12" reads differently from "$ 12.00" in a money column.