Park UI

Combobox

A searchable dropdown component combining input and selection features.

Installation

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.

Variants

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

Props

Root

Item

Trigger