Guides / Typography

Type Scale

A set of font sizes generated by a fixed ratio (e.g. 1.25): 12/14/16/20/24/32 — clear hierarchy at a glance.

Live demo

12 · Caption
14 · Small text
16 · Body
20 · h4 Subheading
24 · h3 Medium heading
32 · h2 Large heading
1.25 Modular scale

Implementation prompts

Standard

Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Do not use arbitrary font sizes.

With motion

Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Add a subtle fade-in stagger when headings enter the viewport.
Design spec entry
### Type Scale (#type-scale)

Category: Typography

A set of font sizes generated by a fixed ratio (e.g. 1.25): 12/14/16/20/24/32 — clear hierarchy at a glance.

- Do: Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px

- Avoid: Do not use arbitrary font sizes

With motion: Use a type scale with a 1.25 ratio: body 16px, headings 20/24/32px. Add a subtle fade-in stagger when headings enter the viewport.

Live demo: https://uidesignmd.com/guides/type-scale/