components / combobox

combobox.

searchable select with optional color swatches, inline create, and clear. behavior split into a headless useCombobox hook. generalized from the calendar category picker.

installation
bunx @justin06lee/chrome@latest add combobox
props
nametypedefaultdescription
value *T | null-
onChange *(value: T | null) => void-
options *ComboboxOption<T>[]-{ value, label, color? }[]
allowClearboolean-show a Clear row when selected.
onCreate(query: string) => void-renders a '+ Create' row.