# select2/select2

Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results.

Repository: https://github.com/select2/select2
Canonical: https://ross.abutalabs.com/products/select2
Homepage: https://select2.org/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, jquery, select2, hacktoberfest
Last push: 2026-08-24T19:57:25+00:00

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

## Adoption (not part of the score)
Stars 25909, forks 6131 (observed 2026-08-28T04:11:38.740407+00:00)

## What it is
Select2 is a jQuery-based replacement for native HTML select boxes that adds searching, tagging, remote data loading via AJAX, and infinite scrolling. It is a mature, widely used frontend library with theming support and integrations for many frameworks.

## Use cases
- add search to a large select dropdown
- build a multi-select pillbox input
- load select options from a remote API via AJAX
- let users create new tags on the fly
- implement infinite scrolling over large option lists
- customize rendering of select options and selections
- support multiple languages and RTL in select inputs

## When to choose
- your project already uses jQuery
- you need searchable, taggable, or AJAX-backed select boxes with broad legacy browser support
- you want a battle-tested plugin with themes and framework integrations

## When to avoid
- you use a modern framework without jQuery and prefer native or framework-specific components
- you need a dependency-free vanilla JS solution
- you are building a brand-new project with no legacy browser requirements

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework, internationalization
- domain: web-development, frontend, web-design
- platform: browser, cross-platform
- tags: jquery, select-box, dropdown, autocomplete, multiselect, tagging, ajax, infinite-scrolling

## Member repositories
- select2/select2 (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.740407+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-29T16:55:57.686132+00:00, confidence not recorded.
  - readme: https://github.com/select2/select2 (fetched 2026-08-28T04:11:38.740407+00:00, sha 2ec9abad88d1)
  - homepage: https://select2.org/ (fetched 2026-08-29T07:52:46.393206+00:00, sha 1cca704b3337)
  - site_page: https://select2.org/getting-started/installation (fetched 2026-08-29T07:52:46.395696+00:00, sha 6db92b332df4)
  - site_page: https://select2.org/getting-started/basic-usage (fetched 2026-08-29T07:52:46.397645+00:00, sha dea8abd356f3)
  - site_page: https://select2.org/getting-started/builds-and-modules (fetched 2026-08-29T07:52:46.399391+00:00, sha 0f7ff6440b2a)
  - registry_npm: https://registry.npmjs.org/select2 (fetched 2026-08-29T07:52:46.401202+00:00, sha 9f04824ea24d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
