MiHCM
primitives/@mihcm/ui·v0.21.0·stable

Combobox

Autocomplete search input combining a text field with a filterable dropdown list. Ideal for large option sets.

Props

The full prop API for Combobox. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
optionsComboboxOption[]List of selectable options ({ value, label, disabled? }).0.5.0
valuestringCurrently selected value.0.5.0
onValueChange(value: string) => voidCalled when selection changes.0.5.0
placeholderstring'Select…'Shown when nothing is selected.0.5.0
searchPlaceholderstring'Search…'Placeholder for the search input.0.5.0
emptyTextstring'No results found.'Shown when search matches nothing.0.5.0
disabledbooleanfalseDisables the combobox.0.5.0

Import

import { Combobox } from '@mihcm/ui/Combobox';