practiceExperience & interface

Typography in UI

UI typography makes interface language readable, scannable, resizable, and structurally clear across devices, languages, states, and settings.

Download Markdown (.md)

01What it means

Typography in UI presents labels, instructions, data, and long-form text through typeface, size, weight, line height, spacing, measure, and hierarchy. It must support quick control recognition and sustained reading while remaining robust under zoom, text resizing, localization, and dynamic content.[1][2][3]

02Why it matters

Text carries most interface meaning. Legible, consistent typography reduces errors, clarifies relationships, and supports scanning. A resilient type system also prevents clipped labels and broken layouts when users enlarge text or translations are longer than the source language.

03When to use it

Use a typography system from the first component, not as final styling. Define roles for headings, body, labels, data, and annotations, then test forms, tables, navigation, empty states, errors, and dense responsive layouts with real strings and user text sizes.

04How it works

  1. Choose legible families with needed scripts, weights, numerals, and platform support.
  2. Define semantic text roles and a restrained scale instead of styling screens independently.
  3. Set readable line height and measure, allowing spacing to adapt without clipping.
  4. Use weight, size, and position—not capitalization or color alone—for hierarchy.
  5. Test zoom, font settings, translations, fallback fonts, loading, and high contrast.

05A practical example

Example

A finance product defines roles for page titles, headings, body, labels, tabular numbers, and annotations. Amounts use aligned numerals, labels remain visible after entry, and containers grow at 200 percent text. Sensible fallbacks keep content readable during font download.

06Where it breaks

A type scale is not universal: distance, platform, language, and audience change readability. Thin weights and low contrast fail in real conditions. Web fonts add network cost, and truncation can hide meaning. Typography must be tested in context, not only as a specimen.

Common mistakes

  • Using placeholder text as the only field label
  • Locking heights so enlarged or translated text clips
  • Loading many font files without fallback or performance budgeting

07Sources

  1. TypographyApple Human Interface Guidelines · Institutional guidelineTypography
  2. Understanding SC 1.4.12: Text SpacingW3C Web Accessibility Initiative · Accessibility guidanceUnderstanding SC 1.4.12: Text Spacing
  3. TypographyU.S. Web Design System · Government design systemTypography
View saved topics

Start typing to search titles, definitions, categories, and frameworks.