Searchable select (combobox)
A keyboard-filterable dropdown to pick one or several values, shown as chips, backed by a real select field.
- Tailwind
- React
- CSS
- WordPress
Description
Type a few letters to filter the list, ignoring accents; the matching part is highlighted. In multiple mode each value becomes a chip, removed with a click or Backspace; in single mode the field restores the chosen value if you leave without confirming. A native select remains the source of truth: it is what the form submits, and the only thing shown without JavaScript. Accessibility: ARIA 1.2 combobox pattern (aria-expanded, aria-activedescendant, multiselectable listbox), up and down arrows, Enter, Escape, Alt + up arrow; results and additions announced in a live region; AA contrast in light and dark; no animation with prefers-reduced-motion.
Code
Loading the code…
The code of this component in
Archive contents
champ-selection-combobox-html-tailwind.zip3 files · 8 Ko
- index.html43 Ko
- README.md3 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A recruitment form for small businesses: target position, introduction, CV checked in the browser and GDPR consent, with inline errors.
- Tailwind
- React
- CSS
- WordPress

A quote request form whose labels, hints and error messages are full French sentences, still readable at 320 px: nothing overflows, nothing is cut off, and each error is tied to its field.
- Tailwind
- React
- CSS
- WordPress

Visitors pick a package and tick options: the pre-tax total, VAT and total including tax update live, and the summary is sent with the contact form.
- Tailwind
- React
- CSS
- WordPress

A short NPS survey: a 0 to 10 score as radio buttons, then a follow-up question adapted to whether the customer is a detractor, passive or promoter.
- Tailwind
- React
- CSS
- WordPress