Styling native HTML elements consistently across browsers is a common frontend headache. When a project requires searchable dropdowns, multi-select tags, or custom option layouts, developers often reach for heavy legacy libraries—introducing jQuery dependencies or bloated bundle sizes. ZidanSelect solves this with a modern, lightweight, zero-dependency vanilla JavaScript plugin designed to fit cleanly into any frontend workflow, including Bootstrap 5 and Tailwind CSS projects. Core Modes Custom Single Select: Replaces the rigid browser dropdown with a sleek, customizable UI while keeping the underlying element synced for standard form submissions.

Searchable Combobox: Lets users filter through long lists of options instantaneously as they type.

Multi-Select & Tag Input: Displays selected items as clean, removable pills/chips—ideal for categories, skills, recipients, or filters.

Key Features

  • 100% Vanilla JavaScript: Built with clean ES6+ with zero external libraries or runtime dependencies.
  • Bootstrap 5 & Tailwind CSS Ready: Adapts naturally to Bootstrap form sizing and validation states, or accepts custom utility classes to match any Tailwind design system.
  • Full Keyboard Navigation: Navigate smoothly with ArrowUp and ArrowDown, confirm selections with Enter, dismiss menus with Escape, and remove tags using Backspace.
  • Rich Option Support: Handles option groups, disabled options, custom placeholders, clearable selections, and custom item rendering (such as icons, badges, or avatars).

Customizable Configuration Options:

  • Toggle search filtering on or off
  • Set maximum selection limits for multi-select fields
  • Enable or disable quick-clear buttons
  • Allow or restrict custom tag creation
  • Hook into lifecycle events (onChange, onOpen, onClose) for dynamic UI updates
  • Lightweight & Responsive: Smooth CSS transitions, accessible ARIA attributes, and fast DOM performance even with large datasets.

Check It Out on GitHub
ZidanSelect is open-source and ready to drop into your next web app, dashboard, or CMS theme. Explore the project, test the demos, and star the repository if you find it helpful:

Repository: github.com/akhtar1985/zidan-select
Demo: https://akhtar1985.github.io/zidan-select/

Issues & Feature Requests: Open an issue on GitHub