autoComplete.js :sparkles:

April 13, 2026 · View on GitHub

License GitHub package.json version npm 100% Javascript Zero Dependencies Minified Size Yes Maintained npm Open Source Love



autoComplete.js Design



Simple autocomplete pure vanilla Javascript library. :rocket: Live Demo v10

autoComplete.js is a simple, pure vanilla Javascript library progressively designed for speed, high versatility, and seamless integration with a wide range of projects & systems. (Made for a better developer experience)

Features

  • Pure Vanilla Javascript
  • Zero Dependencies
  • Simple & Lightweight
  • Powerful Search Engine with two different modes
  • Diacritics Support
  • Debounce Support
  • Life Cycle Events
  • Useful plugin API
  • WAI-ARIA Compliant
  • Highly Customizable
  • Works on anything (<input>, <textarea> and contentEditable elements)
  • Well Documented

autoComplete.js Code Example

How It Compares

LibrarySize (gzip)DependenciesFrameworkDrop-in
autoComplete.js~3.7 KB0None (vanilla JS)Yes
Downshift~8 KB5React onlyNo
Tom Select~16 KB1NoneYes
Select2~17 KBjQueryjQueryYes
Choices.js~20 KB0NoneYes
Algolia Autocomplete~25 KB5Any (Preact core)Yes
react-select~27 KB9React onlyYes

autoComplete.js is the smallest full-featured option in the category. See the full comparison for details.

Getting Started

Installation:

CDN

JS

<script src="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/autoComplete.min.js"></script>

CSS

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tarekraafat/autocomplete.js@10.2.10/dist/css/autoComplete.min.css">

Package Manager

  • npm install (Node Package Manager)
npm i @tarekraafat/autocomplete.js
  • Yarn install (Javascript Package Manager)
yarn add @tarekraafat/autocomplete.js

Documentation:

Used By

IBM Carbon, The Guardian, Snapcraft (Canonical), Weblate, Blockscout, Eclipse Ditto, and 2,400+ more projects across many industries and ecosystems.


Support

Technical questions and support, please post your question on Stack Overflow using the below tag

General questions or new ideas for autoComplete.js please start a discussion on Github using the below link


Author

Tarek Raafat


Also by the Author

ProjectDescription
Eleva.jsUltra-lightweight (~2.5KB) pure vanilla JavaScript framework with signal-based reactivity
Skalex.jsAI-first, zero-dependency JavaScript database with vector search and encryption

License

Released under the Apache 2.0 license.

© 2026 Tarek Raafat