DEV Community

Cover image for Input Tags JS: Lightweight JavaScript Tag Input with Autocomplete
jQueryScript
jQueryScript

Posted on

Input Tags JS: Lightweight JavaScript Tag Input with Autocomplete

Input Tags JS: a lightweight vanilla JavaScript library for adding tag input fields with autocomplete to HTML forms.

Key features:

  • Zero dependencies. Pure vanilla JS
  • Predefined tag list with alias search
  • Group-based exclusivity (one tag per group allowed)
  • Custom user-defined tags with blacklist support
  • Full keyboard navigation
  • Clean programmatic API for runtime control

It submits data via hidden form fields, so it works with any server stack.

👉 Blog Post

👉 GitHub Repo

👉 Live Demo

Top comments (0)