Skip to content
Protocore Design Systemv1.6.9

/// Inputs

Autocomplete

Alias of Combobox — a typeahead single-select that filters a list of options as you type.

import { Autocomplete } from "@protocore/pds";
View as Markdown

An alias of Combobox

Autocomplete is the Mantine-familiar name for this library's Combobox — the same component under a second name for discoverability. Props are identical (options, value, onValueChange, placeholder, …). See the Combobox page for the full API and accessibility notes.

Basics

Pass options; typing filters them and the highlighted option commits on Enter.

Accessibility

  • Identical to Combobox: a WAI-ARIA combobox with arrow-key navigation and an `aria-activedescendant`-linked listbox.

Related

  • ComboboxAutocomplete field — a sunken input that filters a list as you type, following the ARIA 1.2 combobox pattern.
  • SelectInput-styled trigger plus an overlay panel for choosing one value from a list; flat or compound API.
  • SearchInputAn Input specialised for queries — leading magnifier, sunken field, and a clear button once text is present.