Select2
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. observed · 2026-10-17
Health v2 · maintenance only
81/100
- Activity 100
- Release rhythm 46
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5343
- days_rel: 147
- days_push: 4
- n_releases_24m: 1
Adoption not part of the score
25908 stars · 6126 forks observed · 2026-10-17
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.97
Select2 is a jQuery-based library that replaces standard HTML select boxes with a feature‑rich UI component. It adds searching, tagging, remote data loading, and infinite scrolling to dropdowns.
Use cases
- Enhance a native <select> element with searchable dropdowns
- Implement multi‑select inputs with tag creation on the fly
- Load large option lists via AJAX with pagination and infinite scroll
- Create custom rendering of options using templating
- Support nested optgroups beyond the native single‑level limitation
- Provide a consistent, stylable select UI across legacy browsers
When to choose
- You need a drop‑in enhancement for existing <select> elements without rewriting the UI
- Your project already uses jQuery and you want a mature, well‑documented solution
- You require remote data fetching, tagging, or custom option templates in a dropdown
When to avoid
- You are building a modern, framework‑centric app (React, Vue, Angular) and prefer a native component library
- You need a lightweight solution without the overhead of jQuery
- Server‑side rendering or environments without a DOM (e.g., pure Node.js scripts)
Facets
library · maturity active
ui-components form-handling templating web-development frontend browser jquery-plugin autocomplete tagging remote-data infinite-scroll select2 nodejs
6 sources
- readme: https://github.com/select2/select2 · fetched 2026-10-17 · 2ec9abad88d1
- homepage: https://select2.org/ · fetched 2026-09-28 · 1cca704b3337
- site_page: https://select2.org/getting-started/installation · fetched 2026-09-28 · 6db92b332df4
- site_page: https://select2.org/getting-started/basic-usage · fetched 2026-09-28 · dea8abd356f3
- site_page: https://select2.org/getting-started/builds-and-modules · fetched 2026-09-28 · 0f7ff6440b2a
- registry_npm: https://registry.npmjs.org/select2 · fetched 2026-09-28 · 9f04824ea24d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| select2/select2 | main | 81 |
| select2/select2-bootstrap-theme | plugin | 23 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem