Autocompletes can have different shapes. The default shape is rounded
but you can also use straight
, curved
or full
shapes.
Show codeHide code
Autocompletes can have a configurable icon on the left side using the icon
prop. Make sure to pick meaningful icons for your use case.
Show codeHide code
Clearable autocompletes have a clear icon that appears on the right side using the clearable
prop. The clear icon is also configurable using the clearIcon
prop.
Show codeHide code
Autocompletes can have a material design style floating label using the labelFloat
prop.
Show codeHide code
Autocompletes can be displayed in a smaller and more compact way using the size
prop with the sm
value.
Show codeHide code
Autocompletes can be disabled using the disabled
prop.
Show codeHide code
Autocompletes can be showed in a loading state using the loading
prop.
Show codeHide code
Autocompletes can be configured to allow multiple value and item selection using the multiple
prop.
Show codeHide code
#label
Show exampleHide example
#pending
Show exampleHide example
#empty
Show exampleHide example
#start-item
Show exampleHide example
#item
Show exampleHide example
#end-item
Show exampleHide example
selected
Show exampleHide example
filteredItems
Show exampleHide example
query
Show exampleHide example
pending
Show exampleHide example
clear
Show exampleHide example
removeItem
Show exampleHide example
Autocompletes can render results with icons using the <BaseAutocompleteItem> component. The component accepts an icon
prop that is displayed in the results list.
Show codeHide code
Autocompletes can render results with images using the <BaseAutocompleteItem> component. The component accepts a media
prop that is displayed in the results list.
Show codeHide code
value
Show exampleHide example
shape
Show exampleHide example
mark
Show exampleHide example
selected-icon
Show exampleHide example
active
Show exampleHide example
selected