# Combobox field

https://fieldbook.lizardi.mx/components/combobox-field

Category: Inputs
![Still of the Combobox field component, a Fieldbook UI component in Inputs.](https://fieldbook.lizardi.mx/thumbs/combobox-field.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/combobox-field-2eb67fbf14.mp4 (5 s, silent)

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

## Frameworks

react, vue, svelte, astro, html

## Preview controls

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

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| placeholder | text | Search frameworks... | Up to 40 characters |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| openOnLoad | boolean | false | No additional limit in the metadata. |

## Usage notes

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

### 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "combobox-field",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Filtered suggestion field](https://fieldbook.lizardi.mx/components/filtered-suggestion-field)
- [Birthdate popover picker](https://fieldbook.lizardi.mx/components/birthdate-popover-picker)
- [Grouped select menu](https://fieldbook.lizardi.mx/components/grouped-select-menu)
- [Model picker prompt box](https://fieldbook.lizardi.mx/components/model-picker-prompt-box)
- [Range span slider](https://fieldbook.lizardi.mx/components/range-span-slider)
- [Addon Input Group](https://fieldbook.lizardi.mx/components/addon-input-group)
