Typography

Inter for UI text, Geist for headings, Tanker for display titles, and Geist Mono for code. Sizes follow the type scale.

Samples

Displayfont-display · 60px · Tanker

Display 60

Headingfont-heading · 36px

Heading 36

Headingfont-heading · 24px

Heading 24

Subheadingfont-heading · 20px

Subheading 20

Bodyfont-sans · 16px

Body 16. The quick brown fox jumps over the lazy dog.

Smallfont-sans · 14px

Small 14. Secondary and helper text.

Captionfont-sans · 12px

Caption 12.

Codefont-mono · 14px

const token = "--primary"

Font families

RoleFamilyClass
Body and UIInterfont-sans
HeadingsGeistfont-heading
DisplayTankerfont-display
CodeGeist Monofont-mono

Scale

StepSizeLine height
xs12px16px
sm14px20px
base16px24px
lg18px28px
xl20px28px
2xl24px32px
3xl30px36px
4xl36px40px
5xl48px48px
6xl60px60px
WeightValue
regular400
medium500
semibold600
bold700

Usage

  • Body text is 14 to 16px. Use 14px for dense UI, 16px for reading.
  • Use semibold for headings and medium for labels. Avoid bold in body text.
  • Use Tanker (font-display) only for display titles such as the landing hero and large section titles, never for UI text.
  • Use the mono font only for code, token names, and file paths.