Skip to content
Component passports token-kit

DateInput

DateInput — a date someone already knows, in three short fields. Day, month and year in a fieldset whose legend is the question, each with its own small label, sized to its answer (two, two and four c

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 holds28 pairs, 0 failed; closest 11.73:1 for date-input/label (bathing-bagels / sunken / default), needs 4.5:12026-11-27
Controlsevery prop reachable from a story's controls6 stories opened; none flagged2026-11-28
Radiuscorner radii from the kit's scale only6 stories opened; none flagged2026-11-28
Attributesonly valid data-tk attributes and values6 stories opened; none flagged2026-11-28
Titleseach story has a heading and a title6 stories opened; none flagged2026-11-28
Accessibility (axe)axe-core on each story, at desktop and phone width6 stories opened; none flagged2026-11-28
Reflow at 320pxeach story at 320px wide: no sideways scroll6 stories opened; none flagged2026-11-28
Forced colourseach story in Windows high contrast6 stories opened; none flagged2026-11-28
Reduced motioneach story with reduced motion: nothing keeps moving6 stories opened; none flagged2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called6 stories opened; none flagged2026-11-28
Right to lefteach story set right to left: nothing pushed off the page6 stories opened; none flagged2026-11-28
Text 40% longerevery text made about 40% longer: no words cut, no sideways scroll6 stories opened; none flagged2026-11-28
Design matches codethe Figma component laid over the rendered code, per skinDateInput: mean Δ 1.67, worst 1.67 over 1 skin2026-10-19
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 5 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 7 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
legendtextyesDateInput.Legend
hinttextnoDateInput.Hint, DateInput.Show hint
errortextnoDateInput.Error
errorPartsothernonot drawn
partsothernonot drawn
orderdmy | mdynonot drawn
monthAsinput | selectnonot drawn
monthNamesothernonot drawn
birthdaybooleannonot drawn
idtextnonot drawn
nametextnonot drawn
valueothernonot drawn
defaultValueothernonot drawn
onChangeeventnonot drawn
requiredbooleannonot drawn
wordsothernonot drawn

Tokens it reads

size-sm, space-1, space-2, space-3, space-4, status-danger-line, text-primary