Typography System
What is a Typography System?
A typography system defines a product's text styles: typefaces, a size scale, line height, weight, spacing and which named style fits which content. It is usually part of a design system and implemented as reusable tokens or components.
Updated November 2026 · 4 min read
A typography system is the documented set of rules that decides how text looks across a product: which typefaces are used, which sizes exist, how line height, weight and spacing work, and which style applies to which kind of content. Instead of designers and engineers picking a font size for each new screen, they pick from a small, named set of text styles such as "heading large," "body" and "caption."
The payoff is consistency and speed. Users read structure from type before they read the words, so a stable system makes interfaces easier to scan. Teams also stop debating 15px versus 16px in every review, and engineers can implement text styles once, as reusable tokens or components, rather than hard-coding values throughout the codebase. A typography system is usually one part of a broader design system, alongside color, spacing, iconography and components.
Components of a typography system
- Typefaces. Usually one or two families: for example a sans-serif for interface text and an optional second face for headlines or code. Each extra family adds load time and visual noise.
- Type scale. A fixed set of sizes. Many teams derive it from a base size and a ratio (a modular scale); others hand-pick sizes that suit their layouts.
- Weights and styles. Which weights are allowed (for example regular, medium and bold) and when italics or all caps are acceptable.
- Line height and spacing. Line height for each size, paragraph spacing and letter spacing, especially for small text and all-caps labels.
- Semantic roles. Named styles tied to purpose (display, heading levels, body, label, caption, code) rather than raw values, so a change to "body" updates every place body text appears.
- Responsive rules. How sizes change between mobile and desktop, and how text behaves when users increase their device's font size.
- Usage guidance. Do and don't examples, maximum line length, and rules for truncation, numerals and localization.
How a modular type scale works
A modular scale multiplies a base size by a constant ratio to produce each step. With a 16px base and a ratio of 1.25, the steps are:
| Step | Calculation | Size | Typical role |
|---|---|---|---|
| 0 | 16 | 16px | Body text |
| 1 | 16 × 1.25 | 20px | Heading 4 or large body |
| 2 | 20 × 1.25 | 25px | Heading 3 |
| 3 | 25 × 1.25 | 31.25px (round to 31 or 32) | Heading 2 |
| 4 | 31.25 × 1.25 | 39.06px (round to 39 or 40) | Heading 1 |
| 5 | 39.06 × 1.25 | 48.83px (round to 48 or 49) | Display |
Smaller ratios (around 1.125 to 1.2) suit dense, data-heavy interfaces where headings should not dominate. Larger ratios suit marketing pages and editorial layouts. Rounding to whole pixels, or to a 4px grid, keeps the values practical to implement.
How to build a typography system
- Audit what exists. List every font family, size, weight and line height in the current product. Most audits reveal far more variants than anyone intended.
- Choose typefaces for the job. Test candidates for legibility at small sizes, character support for the languages you ship in, licensing terms and file size.
- Define the scale and roles. Pick a base size and a scale, then map each step to a semantic role.
- Set line height and line length. Body text usually needs more line height than headings. Line lengths of roughly 45 to 75 characters are a commonly cited range for comfortable reading.
- Check accessibility. Confirm contrast and that layouts still work when text is enlarged. The accessibility guidelines in WCAG require that text can be resized up to 200 percent without loss of content or function.
- Publish as tokens and components. Express styles as design tokens shared by design files and code, so both stay in sync.
- Govern changes. Decide who can add a new style and what evidence is needed. See design system governance.
A typography system in practice
Consider a hypothetical B2B software company whose front-end audit finds 31 distinct font sizes and 9 line-height values in its stylesheets, many differing by a single pixel. The design team defines 8 text styles on a 1.2 ratio from a 14px base for the application and a separate 16px base for documentation pages. Engineers replace hard-coded values with tokens over two releases. New screens now pass design review with fewer typography comments, and when the team later increases body text from 14px to 15px for readability, the change ships by editing one token rather than hundreds of declarations. All figures are illustrative.
Common pitfalls
- Too many styles. A system with 20 heading variants is not a system. If two styles are rarely distinguishable, merge them.
- Naming by value instead of role. A style called "font-18-bold" cannot change size without becoming misleading. Name styles by purpose.
- Ignoring localization. Some scripts need different typefaces, larger sizes or taller line heights, and translated text often runs longer than English.
- Designing only at default size. Interfaces that break when users enlarge text fail people with low vision and can fail accessibility requirements.
- No owner. Without governance, one-off styles creep back within a few releases.
Typography is the backbone of visual hierarchy, and it works best as part of a component approach such as atomic design. Teams that document type alongside their interface guidelines find it easier to keep new screens consistent as the product and the team grow.
Frequently asked questions
How do you create a modular type scale for a typography system?
Pick a base size and a ratio, then multiply repeatedly. With a 16px base and a ratio of 1.25, the steps are 16, 20 and 25 pixels, then roughly 31, 39 and 49, usually rounded to whole pixels or a 4px grid. Ratios around 1.125 to 1.2 suit dense interfaces, while larger ratios suit marketing and editorial pages.
How do you build a typography system?
Audit every font family, size, weight and line height in the product, then choose typefaces for legibility, language support, licensing and file size. Define a scale and map each step to a semantic role such as body or caption, set line heights and line lengths, check contrast and text resizing, publish styles as design tokens, and decide who approves new styles.
What accessibility requirements apply to a typography system?
WCAG requires that text can be resized up to 200 percent without loss of content or function, so layouts must keep working when users enlarge text. Check contrast as well, and remember that some scripts need different typefaces, larger sizes or taller line heights. A system designed only at default size can fail people with low vision. See accessibility guidelines.
Related terms
Accessibility Guidelines
Published standards, led by WCAG, for building products disabled people can use.
Design System Governance
Rules and roles for how a design system changes and is adopted.
Visual Hierarchy
Using size, contrast and placement to signal what matters most on a screen.
Atomic Design
Building interfaces from small components that combine into larger ones.