Components

Page header

Label, serif title, optional subtitle and lede. Opens every inner page.

components/ui/PageHeader.tsx

Live preview

About

A page title

An optional serif subtitle

And a lede line beneath it.

Tokens it uses

--serif

Page titles, section headings, the footer line.

In typography

--fs-display
px

Largest size of page titles; shrinks on small screens.

In typography

--display-weight

Weight of the headline font.

In typography

--display-tracking
em

Tighter or looser headlines.

In typography

--fs-label
px

Small labels, chips and form labels.

In typography

--label-tracking
em

Spacing between letters in labels.

In typography

--label-case

All caps or as written.

In typography

--ink-soft

Summaries, captions, inactive nav links, footer text.

In colors

--space-page-top
px

Gap between the top bar and each page's title.

In spacing

--space-section
px

Space under page intros and between About sections.

In spacing

Where it’s used

Works with

  • Section introThe one-column sibling of Section intro; both share headline and spacing tokens.
  • Back linkNested pages put a Back link above it.

Shared tokens

These components share tokens with Page header, so editing a shared token changes them together — that’s what keeps the interface cohesive.

  • Section introshares Headline fontPage title sizeHeadline weightHeadline letter-spacingLabel sizeLabel letter-spacingLabel caseSpace above page titlesSection spacing
  • Playground rowshares Headline fontSecondary textLabel sizeLabel letter-spacingLabel case
  • Project cardshares Secondary textLabel sizeLabel letter-spacingLabel case
  • Contact formshares Secondary textLabel sizeLabel letter-spacingLabel case
  • Say hishares Headline fontHeadline weightHeadline letter-spacingSecondary text
  • Filter chipsshares Label sizeLabel letter-spacingLabel case
  • Footershares Headline fontSecondary text
  • Top barshares Secondary text
  • View toggleshares Secondary text
  • Project windowshares Secondary text
  • Back linkshares Secondary text
  • Contact linksshares Secondary text
  • Type testershares Secondary text
  • Logo rowshares Secondary text
  • Case study layoutshares Secondary text