Park UI

Combobox

A form control combining text input with dropdown for autocomplete.

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