Skip to content
Component passports token-kit

EmptyState

EmptyState — where content would be, why there is none, and what to do. It replaces what is empty (the table, headers and all), so a screen reader does not read an empty table first. A real heading at

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
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called4 stories opened; none flagged2026-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 skinEmptyState: mean Δ 2.5, worst 2.5 over 1 skin2026-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 18 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
causefirst-use | configure | no-results | cleared | pending | no-access | erroryesnot drawn
titletextyesEmptyState.Title
headingLevel2 | 3 | 4nonot drawn
descriptioncontentnoEmptyState.Description, EmptyState.Show description
actionothernoEmptyState.Show action
secondaryothernonot drawn
iconothernonot drawn
mediacontentnonot drawn
sizesection | compact | pagenonot drawn
referencetextnonot drawn

Figma properties no prop takes

Tokens it reads

font-mono, leading-normal, leading-snug, leading-tight, measure, size-2xl, size-lg, size-sm, size-xs, space-2, space-3, space-4, space-6, space-8, text-primary, text-secondary, weight-normal, weight-semibold