Rubics UI
rubics

Combobox

A searchable dropdown for selecting among options.

Installation

rubics add combobox

Usage

Basic

Props

NameTypeDefaultDescription
optionsComboboxOption[]-Array of available options
valuestring-Currently selected value string
onValueChange(value: string) => void-Triggered when the user taps on an item
placeholderstring-Text shown dynamically inside the input box when no item is selected or user is not searching
emptyTextstring-Label to show when filtering returns empty matches
styleStyleProp<ViewStyle>-Styling for Combobox