Skip to content
Menu

Inputs

Combobox field

Combobox field: A searchable dropdown field: typing filters a list of options live, and picking one fills the field.

Using Combobox field

Combobox field uses the card preview frame with a light/dark theme setting.

Customize the preview

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

ControlTypeDefaultPreview limits
placeholdertextSearch frameworks...Up to 40 characters
accentcolor#38BDF8No additional limit in the metadata.
openOnLoadbooleanfalseNo additional limit in the metadata.
Which frameworks are available for Combobox field?

Combobox field is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

What does Combobox field depend on?

The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.

What accessibility details are visible in Combobox field?

The React source for Combobox field includes: native elements (button, input); attributes and handlers (aria-activedescendant, aria-autocomplete, aria-controls, aria-expanded, aria-haspopup, aria-hidden, aria-label, aria-selected, onKeyDown, tabIndex); explicit roles (combobox, listbox, option); key comparisons (ArrowDown, ArrowUp, Enter, Escape). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Combobox field handle reduced motion?

Combobox field reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduceMotion ? false : { opacity: 0, y: -6, scale: 0.98 }; reduceMotion ? undefined : { opacity: 0, y: -6, scale: 0.98 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

Connect your agent

Related open components