explaingit

harvesthq/chosen

21,992HTMLAudience · developerComplexity · 2/5StaleSetup · easy

TLDR

A JavaScript library that makes long dropdown menus searchable and easier to use by adding filtering, better styling, and multi-select support.

Mindmap

mindmap
  root((repo))
    What it does
      Searchable dropdowns
      Multi-select support
      Better styling
    How it works
      jQuery plugin
      Prototype plugin
      Enhances HTML select
    Use cases
      Country selectors
      Product categories
      Tag selection
      Admin dashboards
    Tech stack
      JavaScript
      jQuery
      Prototype
    Status
      Deprecated
      No active development
      Still installable

Things people build with this

USE CASE 1

Build a country or region selector dropdown that users can search by typing.

USE CASE 2

Create a multi-select field for tags or categories in admin dashboards and content management systems.

USE CASE 3

Replace a long product category list with a searchable dropdown to improve form usability.

USE CASE 4

Add filtering to any large HTML select element without rewriting the form.

Tech stack

JavaScriptjQueryPrototypeHTML

Getting it running

Difficulty · easy Time to first run · 5min
License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

Chosen is a JavaScript library that improves the usability of long dropdown selection menus on web pages. A standard HTML select box, the dropdown you click to pick an option from a list, becomes hard to use when the list is very long. Chosen enhances it by adding search filtering (so users can type to narrow the list), cleaner styling, and support for selecting multiple items at once. It works as a plugin for jQuery or Prototype, two older JavaScript utility libraries, meaning you add it to a page that already uses one of those and call it on your select elements. jQuery version 1.7 and above are supported, and Prototype 1.7 and above as well. You would have used Chosen in web forms that have large lists, for example, a country selector, a long list of product categories, or a multi-select for tags. It was particularly popular in admin dashboards and content management tools where form usability matters but the audience is internal. The README prominently notes that this library is deprecated and not under active development. The maintainers have not decided on a future direction. It is still available to install via npm (as "chosen-js"), Bower, or Composer for projects that already depend on it, but new projects should consider other solutions. The library is primarily HTML and JavaScript.

Copy-paste prompts

Prompt 1
Show me how to set up Chosen.js on a jQuery page to make a country dropdown searchable.
Prompt 2
How do I use Chosen to let users select multiple tags from a long list in a form?
Prompt 3
What's the simplest way to add Chosen to an existing HTML select element on my page?
Prompt 4
Can you help me style a Chosen dropdown to match my site's design?
Open on GitHub → Explain another repo

Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.