Skip to content
IndexRequest a UIAboutContact

Tabular Numerals

A price table and live counter in proportional versus tabular figures: columns align, numbers stop jittering.

Open alone ↗

AI prompt

PROMPT: PASTE INTO YOUR AI IMAGE OR VIDEO TOOL
Typography specimen showing a small price table with right-aligned amounts, 1,111.11 on one row above 888.88 and 12.50 below, in two columns side by side, the left column in proportional figures with the decimal points drifting out of line and the right column in tabular figures with decimals perfectly aligned, faint vertical guide lines through the decimal points, off-white background, near-black type, labels beneath. Negative: decorative fonts, colour, text errors, clutter. Reduced motion: static specimen.

About this pattern

Definition

In many fonts the digit 1 is narrower than the digit 8. Proportional figures look natural in running text, but in columns and live counters they make numbers misalign and jitter. Tabular figures give every digit the same width so decimals line up and changing values do not shift the layout.

When to use it

  • Use font-variant-numeric: tabular-nums for tables, prices, timers, scores and stats.
  • Use proportional figures in body text and large display numbers.
  • Right-align numeric columns and keep the same number of decimals.
  • Check that your font actually has tabular figures; many do, a few do not.

What the controls do

  • Two figure styles, a Live update switch and guides.

Motion & timing

  • The live counter updates every 400ms.
  • Reduced motion: the counter does not update on its own.

Tips & variations

  • Apply tabular figures to counters that change, so the width does not twitch.
  • Include units outside the number so alignment is not broken.

Code of this live preview

HTML
<div class="bx"><div class="pre" id="pre" role="group" aria-label="Figures"><button data-p="0" aria-pressed="true">Proportional</button><button data-p="1" aria-pressed="false">Tabular</button></div><div class="tb" id="tb"><div><span>Coffee</span><b>1,111.11</b></div><div><span>Lunch</span><b>888.88</b></div><div><span>Taxi</span><b>12.50</b></div><div><span>Books</span><b>4,017.10</b></div><div class="tot"><span>Total</span><b>6,029.59</b></div></div><div class="lv">Live: <b id="lv">0.00</b></div><label class="sw"><input id="lp" type="checkbox"> Live update</label></div>

Related patterns

Number Count Up

↗
Number Count UpData Visualization

Weight, Tracking & Leading

↗
Weight, Tracking & LeadingType Styles

Font Pairing & Hierarchy

↗
Font Pairing & HierarchyType Styles