Retents UI

Typography

Font families, sizes, and weights used in the design system.

Font families

The design system uses two font families:

FontClassUsage
Geistfont-sansAll UI text — labels, buttons, body copy
Atkinson Hyperlegible Monofont-monoCode blocks, technical values, badge counts

Both are loaded from Google Fonts via the tokens.css file.

Geist — Sans Serif

The quick brown fox jumps over the lazy dog

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789

Atkinson Hyperlegible Mono — Monospace

const result = await fetchData()

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789

Weight scale

Normal 400Design systems bring consistency

Medium 500Design systems bring consistency

Semibold 600Design systems bring consistency

Bold 700Design systems bring consistency

Type scale

ClassSizeCommon usage
text-xs12pxBadges, captions, helper text
text-sm14pxButtons, form labels, table cells
text-base16pxBody text, descriptions
text-lg18pxSection headings, card titles
text-xl20pxPage section headings
text-2xl24pxPage titles

Font weights

ClassWeightUsage
font-normal400Body text, descriptions
font-medium500Buttons, labels, nav items
font-semibold600Headings, card titles
font-bold700Page titles, emphasis

On this page