HomePluginsToolsGuidesPortfolioWorkflowAboutWork with usContact
GetSet

We build and fix production web applications, and publish the UI packages and free browser tools on this site.

info@get-set.it

Explore

  • Plugins
  • Tools
  • Guides
  • Portfolio

Company

  • About
  • Workflow
  • Work with us
  • Contact

Legal

  • Terms
  • Privacy
  • Accessibility
  • Cookies

© 2026 GetSet

We're on npm

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Forms Plugin

GS Autocomplete

Combobox / autocomplete with async or array sources, fuzzy filtering, multi-select chips, grouping and full keyboard navigation.

Latest: v1.0.2
Downloads last month: 36
Visit Demo Website

Install Package

npm i @get-set/gs-autocomplete
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-autocomplete/latest/gs-autocomplete.min.css">
<script src="https://cdn.get-set.it/gs-autocomplete/latest/gs-autocomplete.min.js"></script>
Interactive Playground

Live Sandbox

Autocomplete.jsx
1
2
3
4
5
6
7
8
9
import Autocomplete from '@get-set/gs-autocomplete';

export default function App() {
  return (
    <Autocomplete>
      <div className="content">Your Autocomplete content</div>
    </Autocomplete>
  );
}
Live Preview

Try typing “re” or “v”.

Options

Configuration Values

Reference?Reference option.
Min Chars?Minimum characters before searching.
Debounce?Debounce delay (ms) before a search runs.
Max Results?Cap the number of rendered results.
Max Items?Max selected chips allowed (multiple mode).
Placeholder?Placeholder text for the input.
Size?Control size preset. Default: 'md'.
No Results Text?Text shown when a search yields no results.
Loader Html?Custom spinner content (HTML string).
Animation?Dropdown open animation name.
Animation Duration?Animation duration in ms.
Animation Easing?CSS easing applied to the dropdown animation.
Theme?Visual theme. `auto` follows prefers-color-scheme.
Accent Color?Accent color (CSS var --gsa-accent) for active rows / focus ring.
Class Name?Extra class name applied to the wrapper root.
Value?Initial selected value(s).

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringnoneReference.
sourceGSAutocompleteSourcenoneSuggestion source: an array of items or an async query function.
filterGSAutocompleteFilter'contains'Filter strategy applied to an array source. Default: 'contains'.
caseSensitivebooleanfalseMatch case-sensitively for the built-in filters. Default: false.
minCharsnumber1Minimum characters before searching. Default: 1.
debouncenumber200Debounce delay (ms) before a search runs. Default: 200.
maxResultsnumber | false50Cap the number of rendered results. Default: 50. `false` = no cap.
highlightMatchbooleantrueBold the matched substring in each label. Default: true.
groupingbooleanfalseGroup items by their `group` field under headings. Default: false.
openOnFocusbooleanfalseShow suggestions immediately on focus (before typing). Default: false.
multiplebooleanfalseMulti-select mode rendering selected items as removable chips. Default: false.
allowFreeTextbooleanfalseAllow committing arbitrary typed text that is not in the source. Default: false.
closeOnSelectbooleannoneKeep the dropdown open after a selection (multiple mode). Default: true when multiple.
clearOnSelectbooleannoneClear the query text after selecting (multiple mode). Default: true when multiple.
maxItemsnumber | falsenoneMax selected chips allowed (multiple mode). `false` = unlimited. Default: false.
placeholderstringnonePlaceholder text for the input.
clearablebooleantrueShow the clear (×) button when there is a value. Default: true.
disabledbooleanfalseDisable the whole control. Default: false.
sizeGSAutocompleteSize'md'Control size preset. Default: 'md'.
noResultsTextstring'No results'Text shown when a search yields no results. Default: 'No results'.
loaderHtmlstringnoneCustom spinner content (HTML string). Defaults to the built-in spinner.
itemRenderGSAutocompleteItemRendernoneCustom item renderer returning an HTML string per row.
animationGSAutocompleteAnimation | false'fade-up'Dropdown open animation name. `false` disables motion. Default: 'fade-up'.
animationDurationnumber180Animation duration in ms. Default: 180.
animationEasingstring'cubic-bezier(0.16, 1, 0.3, 1)'CSS easing applied to the dropdown animation.
reducedMotion'auto' | boolean'auto'Honor `prefers-reduced-motion`. `'auto'` follows the OS setting; `true` always reduces; `false` never reduces. Default: 'auto'.
themeGSAutocompleteTheme'auto'Visual theme. `auto` follows prefers-color-scheme. Default: 'auto'.
accentColorstringnoneAccent color (CSS var --gsa-accent) for active rows / focus ring.
rtlbooleanfalseRight-to-left layout. Default: false.
customClassGSAutocompleteCustomClassnonePer-part class overrides.
classNamestringnoneExtra class name applied to the wrapper root.
valuestring | number | Array<string | number>noneInitial selected value(s). String for single, array for multiple.

Technical Features

Async Sources

Array or promise-based remote data.

Fuzzy Filter

Forgiving, ranked substring matching.

Multi-Select Chips

Token chips for multiple picks.

Grouping

Section options under group headers.

We build and maintain these packages. If you want this kind of work on your own product, we’re available.

Work with us Contact us