Skip to Content

Fonts

The default fonts we use are Inter  for regular text and JetBrains Mono  for monospace text.

Font sizes

Font sizes use Tailwind’s naming convention.

xssmbaselgxl2xl3xl4xl5xl6xl7xl8xl9xl
ValueSize
xs12px
sm14px
base16px
lg18px
xl20px
2xl24px
3xl30px
4xl36px
5xl48px
6xl60px
7xl72px
8xl96px
9xl128px

Font weights

Thin (100)Extra Light (200)Light (300)Normal (400)Medium (500)Semibold (600)Bold (700)Extra Bold (800)Black (900)
ValueWeight
thin100
extralight200
light300
normal400
medium500
semibold600
bold700
extrabold800
black900

Usage in typography components

Font properties are used by typography components to control text appearance. Text is the primary component for rendering text and accepts all font-related props. Heading uses a subset of larger sizes appropriate for headings.

  • size - Controls the font size. Text defaults to base, while Heading sizes map to appropriate heading levels.
  • weight - Controls the font weight. Text defaults to normal, Heading defaults to semibold.

All font props accept responsive values for adapting typography across breakpoints.

Component props

NameTypeValues
sizeResponsive<FontSize>"xs" | "sm" | "base" | "lg" | "xl" | "2xl" | ... | "9xl"
weightResponsive<FontWeight>"thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black"