Basic

The autocomplete component offers a simple and flexible type-ahead experience for larger data sets or API-backed search.

States
Density

Use density to adjust the vertical space within the field. The available options are default, comfortable, and compact.

States
Variant

Use Solo, Outlined, Underlined, Filled, and Plain variants to change the appearance of the autocomplete field.

Solo
Outlined
Underlined
Filled
Plain
Multiple

Use the multiple prop to select more than one item. The value is stored as an array.

States
Clearable

Use clearable to add quick input clearing for the current selection.

States
Chips

Use chips to render selected items as compact removable tokens.

States
Custom-Filter

The custom-filter prop lets you filter each item with custom logic, such as matching names and abbreviations.

States
Slots

Slots let you customize both the chip content and the list item presentation, including avatars.

Select
Async items

Sometimes you need to load data externally based on the search query.

What state are you from?
Loading
State Selector

A combination of autocomplete slots and transitions can create a stylish toggleable state selector.

State - Readonly
Click the icon to edit
validation

Use rules to validate the autocomplete. Rules can return booleans, strings, or functions.

States
Select at least one option.