Skip to content
Inspireca Design

Systems

Generate a type scale from one base size

Builds a small named set of text styles from a base size, with line heights and the job of each style.

Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor

The prompt

Replace everything in [SQUARE BRACKETS] before you use it.

Create a type scale for [PRODUCT NAME], a [PLATFORM] product that uses the typeface [TYPEFACE].

Base body size: [SIZE, e.g. 16 px].
Number of styles wanted: [5 or 6].
The product is mostly [READING-HEAVY / FORM-HEAVY / DATA-HEAVY].

For each style give: a name that describes its job (for example caption, label, body, heading, title, display), size, weight, line height as a multiplier and in pixels, and one sentence on when to use it.

Rules:
- Every size must be a whole number and clearly different from its neighbours.
- Round line heights so that they are multiples of 4 px.
- No more than two weights in total, unless I asked for more.
- Body text line height about 1.5; headings between 1.1 and 1.3.

Then show the scale applied to one example: a screen title, a section heading, a paragraph, a field label and a caption. Finish with the two styles you think are most likely to be confused with each other, and how to keep them apart.

How to adapt it

Replace the typeface and base size. Different typefaces look different at the same size, so try the result with your real font before accepting it.

Add any size you are required to keep, such as a platform's navigation title size.

Check the result for: the smallest size still being readable on a phone at arm's length; no two styles that look the same; and body text of at least about 16 px. The reasoning is in Build a type scale you will actually use.

  • UI Foundations

    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.

  • UI Foundations

    Spacing on a 4-point scale

    Use a fixed set of gaps based on multiples of four, and let the size of the gap show how closely two things belong together.

  • UI Foundations

    Colour roles instead of colour names

    Decide what each colour is for, such as background, text, primary action or error, and you can change the palette later without redrawing the product.

  • UI Foundations

    Design every state of a component

    A button or field is not one picture but a set of states. Listing them before you draw prevents most of the gaps that developers otherwise have to guess.