# Choices-js/Choices

A vanilla JS customisable select box/text input plugin ⚡️

Repository: https://github.com/Choices-js/Choices
Canonical: https://ross.abutalabs.com/products/choices
Homepage: https://choices-js.github.io/Choices/
Language: JavaScript
License: MIT
License Family: permissive
Topics: select, select-multiple, options, dropdown-menus, inputs, select2, javascript, vanilla-js, selectbox, choices, choicesjs, choice, select-one
Last push: 2026-08-23T23:02:52+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3823, "days_push": 10, "days_rel": 10, "gap_med": 45.5, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6819, forks 628 (observed 2026-08-28T04:09:48.811982+00:00)

## What it is
Choices.js is a lightweight, configurable vanilla JavaScript library that enhances select boxes and text inputs with searchable, multi-select dropdown functionality. It is a dependency-free alternative to Select2 and Selectize, offering custom templates, sorting, filtering, and remote data loading.

## Use cases
- replace select2 without jquery dependency
- searchable multi-select dropdown in vanilla js
- tag input with remove buttons
- load select options from remote api
- customizable select box styling
- autocomplete text input limited to certain values

## When to choose
- you need a lightweight (~20kb) select enhancement with no jQuery dependency
- you want searchable, multi-select, or tag-style inputs in plain JavaScript
- you need custom templates, RTL support, or remote option loading

## When to avoid
- your project already uses jQuery and you prefer Select2's ecosystem
- you need a full-featured component framework rather than a single input widget
- you need support for very old browsers without ES6 support

## Facets
- artifact type: library
- maturity: active
- function: ui-components, form-handling, search-engine
- domain: web-development, frontend
- platform: browser
- tags: select-box, dropdown, vanilla-js, select2-alternative, multi-select, text-input, no-jquery, javascript, nodejs

## Member repositories
- Choices-js/Choices (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:48.811982+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:41:55.574394+00:00, confidence not recorded.
  - readme: https://github.com/Choices-js/Choices (fetched 2026-08-28T04:09:48.811982+00:00, sha 9c931d238810)
  - homepage: https://choices-js.github.io/Choices/ (fetched 2026-08-29T08:38:19.429469+00:00, sha 2304c085e586)
- Data as of 2026-08-30T08:39:29.467469+00:00.
