Autocomplete shapes

Autocompletes can have different shapes. The default shape is rounded but you can also use straight, curved or full shapes.

Default shape of all <BaseAutocomplete> can be set in your .app/app.config.ts.
Show code

With icon

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 code

Clearable

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 code

Floating label

Autocompletes can have a material design style floating label using the labelFloat prop.

Show code

Small

Autocompletes can be displayed in a smaller and more compact way using the size prop with the sm value.

Show code

Disabled state

Autocompletes can be disabled using the disabled prop.

Show code

Loading state

Autocompletes can be showed in a loading state using the loading prop.

Show code

Multiple

Autocompletes can be configured to allow multiple value and item selection using the multiple prop.

  • Nuxt
  • Vue.js
Show code
This component has no props

Icon results

Autocompletes can render results with icons using the <BaseAutocompleteItem> component. The component accepts an icon prop that is displayed in the results list.

Show code

Media results

Autocompletes can render results with images using the <BaseAutocompleteItem> component. The component accepts a media prop that is displayed in the results list.

Show code
This component has no props