UI Foundations · Typography
Build a type scale you will actually use
A small, fixed set of text sizes makes screens look related and decisions faster. Here is how to choose the sizes and when to stop.
Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor
In short
- Pick one body size first, usually 16 px on phones, and build outwards from it.
- Five or six sizes are enough for most products.
- Give each size a job, not just a number.
- Set line height with the size: tighter for headings, looser for body text.
A type scale is the short list of text sizes your product is allowed to use. Without one, every screen invents its own sizes and nothing quite lines up. With one, a heading on the settings screen is the same heading as on the profile screen, and nobody has to decide it twice.
Start from body text
Body text is what people read most, so choose it first. On phones, 16 px is a safe starting point: it is the default size browsers use, and iOS does not zoom the page when someone taps a form field that is at least 16 px. Then add sizes above and below it.
Keep the list short
A workable scale for an app looks like this:
- 12 px for captions and legal text, used sparingly.
- 14 px for supporting text and labels.
- 16 px for body text.
- 20 px for section headings.
- 24 px for screen titles.
- 32 px for the one big statement on a welcome or empty screen.
The exact numbers matter less than two rules: each step must be clearly different from its neighbours, and you must not add a seventh size because one screen "needs" it. If two sizes are hard to tell apart at arm's length, merge them.
Name sizes by their job
Call them caption, label, body, heading, title, display, not "text-14". A job name tells the next person when to use the style, and lets you change the number later without renaming everything.
Set line height at the same time
Body text needs room: a line height of about 1.5 times the size reads comfortably. Headings need less, around 1.2, or the lines drift apart. Store the line height with the size so they are always applied together.
Check it on a real screen
Open any app in the Inspireca Design library and count the distinct text sizes on one screen. Good screens usually use three or four. If your own screen uses more than that, the scale is not the problem; the screen is trying to say too many things at once.