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.
import { Combobox } from "@/components/ui/combobox";
<Combobox options={workspaces} value={ws} onChange={setWs} />components/ui/ folder. You own the code.