UI / Components / foundations / Combobox

Combobox

Searchable select. Multi-select variant.

Searchable + filterable select. Type to narrow, arrow keys to navigate, Enter to commit. Multi-select variant returns an array with chip-rendering inside the input.

$npx dock-ui add combobox

Usage

import { Combobox } from "@/components/ui/combobox";

<Combobox options={workspaces} value={ws} onChange={setWs} />

Install

via CLI
$ npx dock-ui add combobox
Writes the file(s) directly to your components/ui/ folder. You own the code.
For agents
curl -L https://ui.trydock.ai/r/combobox.json
Returns a JSON manifest with file paths + contents. Agent-readable, LLM-fetchable.
← All components
Themes·Component kit · glossary
View on GitHub →