Skip to content
Component passports token-kit

Combobox

Combobox — type to narrow a long list, then choose. An editable combobox with a listbox (the APG pattern, list autocomplete, chosen by hand). Focus stays in the text box the whole time; the arrow keys

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 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
Keyboard (its contract's keys)each key its contract promises, pressed on a fresh story2 keys pressed; each does what the contract says2026-11-28
Events (what it reports)each event its contract declares, triggered and checked; nothing undeclared, no vendor called1 of 1 declared event arrive as declared2026-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 skinCombobox: mean Δ 1.81, worst 1.81 over 1 skin2026-10-19
Figmawhere it is drawn in the Figma library1 component in the library; Code Connect linked; 3 Figma properties paired or decided
Tokensthe tk slots its CSS readsreads 19 tk slots

Not checked yet

Props

PropTypeRequiredIn Figma
labeltextyesCombobox.Label
hinttextnonot drawn
errortextnonot drawn
requiredbooleannonot drawn
optionalbooleannonot drawn
idtextnonot drawn
nametextnonot drawn
chars10 | 20 | 30nonot drawn
disabledbooleannonot drawn
optionsotheryesnot drawn
valuetextnoCombobox.Value
defaultValuetextnonot drawn
onChangeeventnonot drawn
inputValuetextnonot drawn
onInputChangeeventnonot drawn
allowCustombooleannonot drawn
kindsearch | selectnonot drawn
openOnFocusbooleannonot drawn
filterothernonot drawn
emptyTexttextnonot drawn
loadingbooleannonot drawn

Keyboard and screen readers

What it reports

The kit sends nothing anywhere: a component dispatches one DOM event, tk:event, and only a page that listens forwards it. Never sent: typed text, an option's label or value, names, emails.

Tokens it reads

focus-color, focus-width, icon-sm, line-default, radius-lg, radius-md, radius-nested, shadow-md, size-sm, space-1, space-2, space-3, surface-raised, surface-sunken, text-disabled, text-primary, text-secondary, weight-normal, weight-semibold