Skip to content
Component passports token-kit

ModalPanel

The panel a Modal draws: header, body, footer and Close. Modal renders it inside the dialog; on its own it shows a modal in place, in the page, which is what guidance and documentation need (a real di

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 12 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
childrencontentnonot drawn
titletextyesnot drawn
footercontentnonot drawn
descriptioncontentnonot drawn
actionsothernonot drawn
dismissiblebooleannonot drawn
onDismisseventnonot drawn
idsothernonot drawn
sizesm | md | lgnonot drawn

Tokens it reads

line-default, measure-dialog-lg, measure-dialog-md, measure-dialog-sm, radius-nested, radius-xl, shadow-lg, space-4, space-5, space-6, surface-raised, text-primary