Skip to content
Component passports token-kit

MenuButton

A button that opens a short list of links or actions. Use for: a handful of related destinations or actions behind one control (More, Share, Account), where a mega menu would be a whole panel for six

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 controls4 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only4 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values4 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title4 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width4 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll4 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast4 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving4 stories opened; none flagged2026-11-28
Keyboard (its contract's keys)each key its contract promises, pressed on a fresh story2 keys pressed; each does what the contract says2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called2 of 2 declared events arrive as declared2026-11-28
Right to lefteach story set right to left: nothing pushed off the page4 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll4 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinMenuButton: mean Δ 4.03, worst 7.15 over 7 skins2026-11-27
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 3 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 18 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
labeltextnonot drawn
itemsotheryesnot drawn
alignstart | endnonot drawn
variantsolid | outline | quietnoMenuButton.Variant
sizesm | md | lgnoMenuButton.Size
initialOpenbooleannoMenuButton.Open

Keyboard and screen readers

What it reports

The kit sends nothing anywhere: a component dispatches one DOM event, tk:event, and only a page that listens forwards it. Never sent: typed text, an option's label or value, names, emails.

Tokens it reads

focus-color, focus-offset, focus-width, icon-stroke, leading-normal, line-default, measure-popover, motion-transform, radius-lg, shadow-md, size-sm, space-2, space-3, surface-raised, surface-sunken, text-primary, weight-bold, weight-medium