Skip to content
Component passports token-kit

DataTable

DataTable — data that is a table: rows of the same kind of thing, compared across the same columns. A real <table>, with a caption that names it, column headers, and optionally a column of row headers

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 skinDataTable: mean Δ 1.82, worst 1.87 over 4 skins2026-11-27
Figmawhere it is drawn in the Figma library2 components in the library; Code Connect linked; 7 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 11 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
captiontextyesDataTable.Caption, DataTable.Show caption
captionHiddenbooleannonot drawn
columnsotheryesnot drawn
rowscontentyesnot drawn
rowHeadertextnonot drawn
stripedbooleannoDataTable.Striped
densebooleannoDataTable.Dense

Figma properties no prop takes

Tokens it reads

focus-color, focus-offset, focus-width, leading-normal, size-base, size-sm, space-2, space-3, space-4, text-primary, weight-semibold