Variants and sizes

  • k-figure--hero: Roboto Serif Light, 52/58px.
  • k-figure--display: Roboto Serif Light, 32/38px.
  • k-figure: Roboto Mono medium, tabular.
  • k-figure--positive: positive, for money coming to you, with "+": "+106.20".
  • k-figure--negative: negative, for a loss or a debt that needs action, with "−": "−88.00" over budget in Offsite.
  • Plain k-figure in ink, with "−", for an ordinary payment out: "−11.95".
  • k-figure__unit: the unit after a number, "50 / 100 min".

States

Figures are static text. When a value changes, the new one replaces the old in place, with no counting animation. While a value loads, show no number rather than "0.00".

Do and don’t

Do

  • Show one hero number per screen.

  • Set every other amount, time and count in mono.

  • Sign every amount that moves money, with U+2212 for minus.

  • Write amounts the way the locale does: "241.86" in English, "241,86" in Brazilian Portuguese.

Don’t

  • Tell money in from money out by colour alone.

  • Colour an ordinary payment out: "−11.95" stays ink.

  • Put a hero number in a row or a table.

What you provide

  • The value as a number, with its currency and locale; the component formats it.
  • The sign rule: money in, a loss or debt, or an ordinary payment out.
  • The unit, the label and the caption.
  • The size: hero, display or inline.