Skip to content
Component passports token-kit

Alert

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
Contrastevery text and boundary pair labelled with its elements, in every pack, surface and density the fixture holds56 pairs, 0 failed; closest 3.00:1 for alert/danger boundary (tk / default / default), needs 3:12026-11-27
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 skinAlert: mean Δ 2.28, worst 2.31 over 4 skins; AlertAction: mean Δ 2.62, worst 2.62 over 1 skin2026-10-19
Figmawhere it is drawn in the Figma library2 components in the library; Code Connect linked; 5 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 18 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
toneinfo | success | warning | dangernonot drawn
statusinfo | success | warning | dangernoAlert.Status
titletextnoAlert.Title
livebooleannonot drawn
actioncontentnonot drawn
childrencontentnoAlert.Body
statusIconbooleannoAlert.Status icon, AlertAction.Status icon

Tokens it reads

radius-nested, space-1, space-2, space-3, space-4, status-danger-line, status-danger-surface, status-danger-text, status-info-line, status-info-surface, status-info-text, status-success-line, status-success-surface, status-success-text, status-warning-line, status-warning-surface, status-warning-text, weight-semibold