Skip to main content
← Back to articles

Typography Scales for Web Applications

Modular scales, line height, and readability for dashboards and marketing pages.

Nestlancer Editorial

Share

Typography Scales for Web Applications

Consistent type scales create rhythm across dashboards and marketing pages—users parse hierarchy unconsciously when sizes relate mathematically.

Modular scale

Common ratios: 1.125 (major second) or 1.25 (major third).

TokenExample size
text-xs12px
text-sm14px
text-base16px
text-lg18px
text-xl20px
display32–40px

Line height

  • Body: 1.5–1.6 for paragraphs
  • Headings: 1.2–1.3 tighter
  • UI labels: 1.4 with single lines

Readability limits

  • 45–75 characters per line for long prose
  • Dashboard tables: tabular nums, 13–14px minimum
  • Never below 12px for essential UI text

Font pairing

One family with multiple weights often beats two families. Variable fonts reduce payload.

Document tokens in design system—developers should not eyeball font-size: 15px per component.

Typography scales are infrastructure—change once, update everywhere.

Comments

Loading comments…

Related posts