Top bar
Name on the left, page links and the Resume button on the right. Collapses into a menu on phones.
components/Nav.tsxLive preview
Tokens it uses
--bgBackground behind every page.
--inkMain text, headings and active nav links.
--ink-softSummaries, captions, inactive nav links, footer text.
--lineDividers, input borders, chip borders, nav and footer rules.
--nav-heightHeight of the navigation bar.
--gutter-maxSpace between content and the screen edge (shrinks on phones).
--wrapHow wide content can grow on large screens.
--sansBody text, labels, nav and buttons.
--btn-heightHeight of every button.
--btn-pad-xSpace either side of the button text.
--btn-weightHow bold button text is.
--btn-borderOutline thickness on buttons.
--btn-bgSolid buttons, and the border and hover fill of outline buttons.
--btn-inkText on solid buttons and selected chips.
--radius-controlAnything you click or type into.
Where it’s used
Works with
- ButtonHolds the Resume button.
- FooterMirrors the footer: same wrapper width and hairline, so the page is framed top and bottom.
- Type testerIts height is where the Type tester controls stick.
Shared tokens
These components share tokens with Top bar, so editing a shared token changes them together — that’s what keeps the interface cohesive.
- Footershares
Hairlines and bordersSecondary textPage side marginMax content widthButton heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputsBody font - Contact formshares
Buttons, chips and inputsHairlines and bordersTextSecondary textButton heightButton side paddingButton text weightButton border widthButton fillButton textBody font - Buttonshares
Button heightButton side paddingButton text weightButton border widthButton fillButton textButtons, chips and inputsBody font - View toggleshares
Buttons, chips and inputsHairlines and bordersPage backgroundTextSecondary textButton fillButton text - Project windowshares
Page backgroundTextSecondary textHairlines and bordersButtons, chips and inputsPage side margin - Case study layoutshares
Body fontTextSecondary textPage backgroundPage side marginTop bar height - Filter chipsshares
Buttons, chips and inputsHairlines and bordersTextButton fillButton text - Contact linksshares
TextSecondary textHairlines and bordersButtons, chips and inputs - Type testershares
Hairlines and bordersTextSecondary textTop bar height - Playground rowshares
Hairlines and bordersTextSecondary text - Project cardshares
TextSecondary text - Your-version pillshares
TextPage background - Back linkshares
Secondary textText - Logo rowshares
TextSecondary text - Say hishares
TextSecondary text - Section introshares
Text - Page headershares
Secondary text