Skip to content
Saeede Agahi

Typography

Inter type scale, line heights and weights.

Typeface

Inter, loaded only on the design system pages. Code samples use the system monospace font, so nothing extra downloads.

Inter is made for screens and stays readable at small sizes. It's open source and has tabular numerals, so figures line up in tables.

Type scale

Body text is 14/20. Sizes from 20 up are headings and have tighter line heights.

Font sizes and line heights
SampleSize / line heightToken
Quarterly risk summary11px / 16pxtext-ds-11
Quarterly risk summary12px / 16pxtext-ds-12
Quarterly risk summary13px / 18pxtext-ds-13
Quarterly risk summary14px / 20pxtext-ds-14
Quarterly risk summary16px / 24pxtext-ds-16
Quarterly risk summary18px / 24pxtext-ds-18
Quarterly risk summary20px / 26pxtext-ds-20
Quarterly risk summary24px / 30pxtext-ds-24
Quarterly risk summary32px / 38pxtext-ds-32

Weights

Font weights
SampleWeightToken
Quarterly risk summary400 (Regular)font-ds-400
Quarterly risk summary500 (Medium)font-ds-500
Quarterly risk summary600 (Semibold)font-ds-600

Numbers in data

Use tabular numerals for numbers that line up in columns. Each digit then has the same width. Add the tabular-nums class.

Proportional and tabular numerals
ProportionalTabular
1,111.111,111.11
8,888.888,888.88

Guidance

Body text is 14/20, regular. Field labels are 13. Badges and captions are 12, and 11 is only for the AI label. Use 16 for longer reading, 18 and 20 for section headings, and 32 for page titles. Weights: 400 for text, 500 for labels and buttons, 600 for headings.