shibro
Show the version of “Amounts you can compare at a glance”

Typography · SU-16 · SU-17

Amounts you can compare at a glance

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Digits proportional-nums
  • Digits tabular-nums
  • Amount header text-align: left
  • Amounts text-align: center
  • Amount header text-align: right
  • Amounts text-align: right

What changes

Bad
Proportional digits, amounts centred under a left-aligned header: $1,111.00 is narrower than $7,208.15, so the decimal points wander.
Good
tabular-nums gives every digit one width; names align left, amounts align right under a right-aligned header.

The rules

  • SU-16

    Tabular numbers. Numbers that change or get compared use equal-width (tabular) digits.

  • SU-17

    Typographic alignment (tables). Names align to their reading edge (left), comparable amounts align right (or on the decimal), and headings follow their column.