โ† Design Systems learning path
Design Systems ยท Module 4 of 10

Typography and spacing

A type scale and spacing system give every screen rhythm.

๐Ÿ“– Key ideas

  1. A type scale defines sizes like 12, 14, 16, 20, 24, 32.
  2. Use one or two font families, with clear weights.
  3. Line height around 1.4-1.6 helps body text readability.
  4. A 4 or 8-point spacing grid keeps gaps consistent.
  5. Use rem units so text respects the user's browser font size.
๐Ÿ’ก Real-life example: Like a newspaper: headline, sub-headline and body text each have a fixed size, and columns have fixed gaps.
Type scaleFixed set of font sizes
Line heightSpace between lines of text
8-point gridSpacing in multiples of 8
remSize relative to the root font size