Morpha UI

Typography

A responsive type scale with tokens and utility classes, set in Outfit.

Overview

Morpha UI is set in Outfit across every weight and size. The type scale is responsive: each step defines a value per breakpoint — mobile-first base, Tablet (≥768px), Desktop (≥1024px) and Desktop Large (≥1440px) — so headings scale up naturally on larger screens.

The scale covers headings (H1H6), Body / Body Small, Caption, and Label / Label Small.

Token Contract

Each step is a set of CSS variables and a matching utility class:

  • Variables: --type-h1-size, --type-h1-line-height, --type-h1-weight, --type-h1-letter-spacing (and the same pattern for every step).
  • Utility class: .type-h1, .type-body, .type-caption, .type-label, … which applies all four properties at once.

The size and line-height variables are overridden inside responsive @media blocks, so a single .type-h1 element fluidly adapts without any per-breakpoint classes in your markup.

Preview

Resize the window to see the scale adapt across breakpoints.

36 → 64px · 800 · -0.5px tracking

Heading 1The quick brown fox jumps over the lazy dog

Mobile: 36/44Tablet: 44/52Desktop: 56/64Desktop Large: 64/72
28 → 48px · 700 · -0.25px tracking

Heading 2The quick brown fox jumps over the lazy dog

Mobile: 28/36Tablet: 32/40Desktop: 40/48Desktop Large: 48/56
22 → 36px · 600 · 0px tracking

Heading 3The quick brown fox jumps over the lazy dog

Mobile: 22/30Tablet: 26/32Desktop: 32/40Desktop Large: 36/44
20 → 28px · 500 · 0px tracking

Heading 4The quick brown fox jumps over the lazy dog

Mobile: 20/28Tablet: 22/30Desktop: 24/32Desktop Large: 28/36
16 → 22px · 500 · 0px tracking

Heading 5The quick brown fox jumps over the lazy dog

Mobile: 16/24Tablet: 18/26Desktop: 20/28Desktop Large: 22/30
14 → 18px · 400 · 0.25px tracking

Heading 6The quick brown fox jumps over the lazy dog

Mobile: 14/22Tablet: 16/24Desktop Large: 18/26
14 → 16px · 400 · 0.25px tracking

BodyThe quick brown fox jumps over the lazy dog

Mobile: 14/22Desktop: 16/24Desktop Large: 16/26
13 → 14px · 400 · 0.25px tracking

Body SmallThe quick brown fox jumps over the lazy dog

Mobile: 14/20Tablet: 13/22Desktop: 14/22
12px · 300 · 0.5px tracking

CaptionThe quick brown fox jumps over the lazy dog

All: 12/18
14px · 500 · 0.5px tracking

LabelThe quick brown fox jumps over the lazy dog

All: 14/20
11px · 500 · 0.5px tracking

Label SmallThe quick brown fox jumps over the lazy dog

All: 11/16

Usage

Apply a step with its utility class:

<h1 className="type-h1">Page title</h1>
<p className="type-body">Body copy in Outfit.</p>
<span className="type-label">LABEL</span>

The same tokens ship in the Morpha theme, so the scale travels with the design system into any Tailwind v4 project. Install it with the CLI:

npx morpha-ui@latest add theme
pnpm dlx morpha-ui@latest add theme
bunx --bun morpha-ui@latest add theme

On this page