Customize select with vanilla JavaScript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • select2

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

  • If this approach does not suit you, then you need to make your own. There are ready-made solutions: — Select2 in jQuery; — Chosen in jQuery; — Choices in JavaScript without deps.

  • chosen

    Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.

  • If this approach does not suit you, then you need to make your own. There are ready-made solutions: — Select2 in jQuery; — Chosen in jQuery; — Choices in JavaScript without deps.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • Choices.js

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

  • If this approach does not suit you, then you need to make your own. There are ready-made solutions: — Select2 in jQuery; — Chosen in jQuery; — Choices in JavaScript without deps.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts