Components
Page header
Label, serif title, optional subtitle and lede. Opens every inner page.
components/ui/PageHeader.tsxLive preview
About
A page title
An optional serif subtitle
And a lede line beneath it.
Tokens it uses
--serifPage titles, section headings, the footer line.
--fs-displaypx
Largest size of page titles; shrinks on small screens.
--display-weightWeight of the headline font.
--display-trackingem
Tighter or looser headlines.
--fs-labelpx
Small labels, chips and form labels.
--label-trackingem
Spacing between letters in labels.
--label-caseAll caps or as written.
--ink-softSummaries, captions, inactive nav links, footer text.
--space-page-toppx
Gap between the top bar and each page's title.
--space-sectionpx
Space under page intros and between About sections.
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