Skip to content
Component passports token-kit

SiteHeader

Site chrome: brand, primary nav, optional mega sheet. Graceful small-box degradation via sheet — not a second mobile DOM.

Evidence

What the kit's own checks measured on this component, from their committed records. A result is what was found, not a certificate.

CheckWhat it measuresResultWhen
Controlsevery prop reachable from a story's controls5 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only5 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values5 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title5 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width5 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll5 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast5 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving5 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called5 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page5 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll5 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinSiteHeader: mean Δ 2.76, worst 4.93 over 4 skins2026-10-18
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 7 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 22 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
brandcontentnoSiteHeader.Brand
navothernoSiteHeader.Nav 1, SiteHeader.Nav 2, SiteHeader.Nav 3, SiteHeader.Nav 4
withMegaMenubooleannoSiteHeader.Mega menu
actionscontentnonot drawn
bannercontentnonot drawn
utilitycontentnonot drawn

Tokens it reads

font-sans, gutter, leading-tight, line-default, line-strong, line-subtle, motion-enter, radius-nested, size-base, size-heading, space-1, space-3, space-4, space-5, space-6, surface-default, surface-raised, target-comfortable, tracking-snug, tracking-tight, weight-bold, weight-semibold