Skip to content

Autocomplete

Displays matching suggestions as users type into an input field, helping them find items quickly and reducing typing errors.

9.9 KB
•
Updated on August 21, 2026

Installation

Bash

Usage

Code

Features

Sizes

Autocomplete inputs in sm, default, and lg sizes.

API Reference

Autocomplete

The root autocomplete component. Manages the autocomplete state and provides context to child components.

AutocompleteInput

The input field component with extended features for size variants and addon support.

AutocompletePopup

The popup container that displays the autocomplete suggestions.

AutocompleteList

A scrollable container for autocomplete items.

AutocompleteItem

An individual selectable autocomplete item.

AutocompleteEmpty

Displays a message when no results are found.

AutocompleteGroup

Groups related autocomplete items together.

AutocompleteGroupLabel

Displays a label for an autocomplete group.

AutocompleteCollection

Used to wrap items within a group for rendering.

Examples

Large autocomplete
Autocomplete with label
Autocomplete autofilling the input with the highlighted item
Autocomplete auto highlighting the first option
Autocomplete with clear button
Autocomplete with trigger and clear buttons
Autocomplete with grouped items
Autocomplete with limited number of results
Autocomplete with async items loading
Autocomplete form
Autocomplete form
Pill-shaped autocomplete
Address autocomplete with Google Maps Places API