Type Scale
UI DesignWhat is a Type Scale
A type scale is a fixed set of font sizes and styles that a product uses for all its text, from large headings to small labels. Instead of choosing sizes one by one, designers pick from the scale, which keeps text consistent and creates clear hierarchy.
How a Type Scale works
- Roles: Styles named by job, such as display, headline, title, body and label
- Steps: Each role has sizes, such as large, medium and small
- Pairing values: Each style sets size, weight and line height
- Tokens: Styles are stored as design tokens for code
Material Design 3, for example, has 15 styles in five roles.
How to build a Type Scale
Start with a body size, often 16 px, then add larger steps for headings and smaller ones for labels. Some teams use a fixed ratio between steps; others tune sizes by hand. On a single screen, use only a few sizes so the hierarchy stays clear.
Fluid Type Scales
A fluid scale grows between a minimum and a maximum screen width. Tools such as Utopia calculate the sizes, and CSS clamp() applies them.
Frequently asked questions
How many sizes should a type scale have?
Enough roles for the product, but few on any one screen. Material Design 3 defines 15 styles in five roles, from display to label, while NN/g suggests using about three sizes within one design for clear hierarchy.
How do you build a type scale?
Pick a base body size, often 16 px, then define larger and smaller steps for headings, labels and captions, either by hand or with a fixed ratio. Name each step by its role and store it as a design token.
What is a fluid type scale?
A type scale whose sizes grow smoothly between a minimum and a maximum screen width. Tools such as Utopia calculate the values, which are then applied with the CSS clamp() function.
Related terms
View all UI Design terms →Typography
Typography is the choice and arrangement of type in an interface. It covers the typeface, size, weight, line height, line length and…
Font Pairing
Font pairing is the choice of two or more typefaces that work well together in one design, usually one for headings and one for body text…
Fluid Typography
Fluid typography is text that scales smoothly with the screen width . Instead of jumping between fixed sizes at breakpoints, a heading…
Design Tokens
Design tokens are named values that store design decisions , such as colors, spacing and type sizes. Design tools and code read the same…
Visual Hierarchy
Visual hierarchy is the order in which the eye moves through the elements on a screen. Designers set it with contrast, size and grouping…
Golden Ratio
The golden ratio is a proportion of about 1.618 to 1 , often written with the Greek letter phi . Artists, architects and designers have…
