Skip to content
Component passports token-kit

ModalTrigger

Composable opener + Modal. Own the open state so call sites stay declarative. Trigger is a kit Button with data-tk="modal-trigger" for styling hooks.

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 controls10 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only10 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values10 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title10 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width10 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll10 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast10 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving10 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called10 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page10 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll10 stories opened; none flagged2026-11-28
Keyboard (its contract's keys)each key its contract promises, pressed on a fresh story1 story opened; none flagged2026-11-28
Tokensthe tk slots its CSS readsreads 0 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
labelcontentyesnot drawn
titletextyesnot drawn
childrencontentnonot drawn
footercontentnonot drawn
sizesm | md | lgnonot drawn
triggerVariantsolid | outline | quietnonot drawn
triggerSizesm | md | lgnonot drawn
closeOnBackdropbooleannonot drawn

Tokens it reads

None traced: its styles are not in the kit's stylesheets.