Typography Foundation

1. Font Family Role Tokens

Rather than referencing specific font family strings inside components, all typography primitives read semantic CSS variables that adapt dynamically to theme configuration changes.

Display Font Role
Display Font Stack

Used by Heading for editorial titles, section headers, and hero banners.

var(--font-display)
Body Font Role
Body Font Stack

Used by Text, buttons, inputs, labels, and all general UI copy.

var(--font-body)
Code & Numerical Role
Code Font Stack

Used by Code, Kbd, tables, and technical data displays.

var(--font-mono)

2. Scale & Hierarchy

Our typographic scale uses harmonic steps designed to maintain visual rhythm across dense dashboards and spacious prose views. Hover rows to reveal pixel metrics.

3xl (30px / 36px)
The quick brown fox jumps
Hero Titles
2xl (24px / 32px)
The quick brown fox jumps
Section Headings
xl (20px / 28px)
The quick brown fox jumps
Card Headings
md (14px / 20px)
Standard body paragraph and UI copy
Body Default
xs (12px / 16px)
Captions, badges, and helper text
Captions & Badges

3. Available Typography Component Primitives

Explore the dedicated component primitives built on this typography foundation:

Configure Theme
Theme
Accent Color
Custom
Gray Family
Appearance
Radius
Scaling
Panel Style
Heading Font
Body Font