zalify-ui

Combobox

A searchable dropdown component combining input and selection features.

React

Usage

To setup combobox, you might need to import the following hooks:

  • useListCollection: Used to manage the list of items in the combobox, providing helpful methods for filtering and mutating the list.
  • useFilter: Used to provide the filtering logic for the combobox based on Intl.Collator APIs.

Examples

Sizes

Use the size prop to adjust the size of the combobox.

React

Variants

Use the variant prop to adjust the visual style of the combobox.

React

Props

Root

Item

Trigger