Components

Case study layout

Hero with a meta row, then numbered sections (TL;DR, context, discovery, users, ideation, a step-by-step final design, outcomes on a dark band, learnings), reusable blocks (stats, quotes, before/after, problem lists, decision grids, alternating features, personas, pain/fix rows, journey tables, reflections), then 'Next case study' and 'Say hi!' with the email and X icons. Content lives in lib/studies; each project only sets its accent colour.

components/study/Study.tsx

Live preview

Case studies use per-project themes, not the site tokens — only the label font and page margins follow the design system.

Tokens it uses

--sans

Body text, labels, nav and buttons.

In typography

--ink

Main text, headings and active nav links.

In colors

--ink-soft

Summaries, captions, inactive nav links, footer text.

In colors

--bg

Background behind every page.

In colors

--gutter-max
px

Space between content and the screen edge (shrinks on phones).

In spacing

--nav-height
px

Height of the navigation bar.

In spacing

Where it’s used

Works with

  • Say hiFollowed by 'Say hi!' in the footer.
  • Back linkStarts with a Back link to the work grid.
  • Project cardEach published card opens one of these.
  • Top barSits between the site's top bar and footer.

Shared tokens

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