Skip to Content
ComponentsInputMultiCombobox

MultiCombobox

Combobox with multiple selection — picked options become removable chips. Supports the same async pattern (inputValue / onInputChange) and allowCustomValue for free-text entries.

Ada Lovelace
import { MultiCombobox } from '@gg-software/ui'; <MultiCombobox label="Reviewers" options={people} value={reviewers} onChange={(values) => setReviewers(values)} /> // free-text tags <MultiCombobox options={suggestions} allowCustomValue maxTagCount={3} />

Options use the same SelectOption shape as Select.

Props

PropTypeDefaultDescription
options*SelectOption<T>[]
valueT[]
defaultValueT[][]
onChange((value: T[], options: SelectOption<T>[]) => void)
inputValuestringcontrolled input text (for server-side / async filtering)
onInputChange((text: string) => void)
allowCustomValuebooleanfalseaccept typed text that doesn't match any option (best with string options)
placeholderstringType to search…
labelReactNode
hintReactNode
errorReactNode
requiredboolean
size"sm" | "md" | "lg"md
status"warning" | "error"
disabledbooleanfalse
clearablebooleanfalse
filterOption((query: string, option: SelectOption<T>) => boolean)
emptyTextReactNodeNo options
maxTagCountnumbershow at most this many tags, then a "+N" overflow tag
idstring
namestring
classNamestring

* required · generated from packages/ui/src/input/MultiCombobox/MultiCombobox.tsx