Combobox
An input with a dropdown list for searching and selecting from a set of options.
Interactive
Requires:
veritheme.js
JS init: automatic
Default
A searchable input with a dropdown list of options. Try searching and selecting.
html
<div class="vt-w-72 vt-combobox-wrapper">
<div class="vt-input-group">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-input-icon" aria-hidden="true">
<path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
<input type="text" placeholder="Search framework..." onfocus="veritheme.openCombobox('cb-default')" oninput="veritheme.filterCombobox(this, 'cb-default')" class="vt-input" aria-label="Search framework...">
</div>
<div id="cb-default" class="vt-dropdown-menu" role="listbox" data-vt-combobox-content="">
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Next.js
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
SvelteKit
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Nuxt
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Remix
</div><div class="vt-command-item vt-selected" role="option" aria-selected="true" onclick="veritheme.selectComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Astro
</div>
<div class="vt-combobox-empty vt-hidden">No results found.</div>
</div>
</div>
With Groups
Combobox with options organized into labeled groups. Icons are preserved on selection.
html
<div class="vt-w-72 vt-combobox-wrapper" data-vt-keep-icons="true">
<div class="vt-input-group">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-input-icon" aria-hidden="true">
<path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
<input type="text" placeholder="Search..." onfocus="veritheme.openCombobox('cb-groups')" oninput="veritheme.filterCombobox(this, 'cb-groups')" class="vt-input" aria-label="Search...">
</div>
<div id="cb-groups" class="vt-dropdown-menu" role="listbox" data-vt-combobox-content="">
<div class="vt-combobox-group" data-vt-combobox-group="">
<div class="vt-dropdown-label">Suggestions</div>
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-command-item-icon" aria-hidden="true">
<path d="M16 2V6M8 2V6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M13 4H11C7.22876 4 5.34315 4 4.17157 5.17157C3 6.34315 3 8.22876 3 12V14C3 17.7712 3 19.6569 4.17157 20.8284C5.34315 22 7.22876 22 11 22H13C16.7712 22 18.6569 22 19.8284 20.8284C21 19.6569 21 17.7712 21 14V12C21 8.22876 21 6.34315 19.8284 5.17157C18.6569 4 16.7712 4 13 4Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M3 10H21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M10 18.5002L9.99999 13.8474C9.99999 13.6557 9.86325 13.5002 9.69458 13.5002H9M14 18.4983L15.4855 13.8923C15.4951 13.8626 15.5 13.8315 15.5 13.8002C15.5 13.6346 15.3657 13.5002 15.2 13.5002L13 13.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
Calendar
</div>
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-command-item-icon" aria-hidden="true">
<path d="M17 17L21 21" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M19 11C19 6.58172 15.4183 3 11 3C6.58172 3 3 6.58172 3 11C3 15.4183 6.58172 19 11 19C15.4183 19 19 15.4183 19 11Z" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
Search
</div>
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-command-item-icon" aria-hidden="true">
<path d="M3.95631 10.5829L3.03254 9.07084C2.74505 8.60024 2.7389 8.00978 3.01652 7.5333L3.63533 6.47124C3.90953 6.00064 4.41721 5.71571 4.96162 5.7269L6.69131 5.76245C6.92616 5.76728 7.15379 5.68727 7.34333 5.54846C7.79531 5.21745 8.28334 4.93276 8.80042 4.70139C9.01191 4.60675 9.19222 4.45165 9.30469 4.24903L10.1203 2.77965C10.3847 2.30328 10.8865 2.00781 11.4312 2.00781H12.6937C13.2384 2.00781 13.7403 2.30329 14.0047 2.77966L14.8202 4.24902C14.9327 4.45165 15.113 4.60675 15.3245 4.70139C15.8416 4.93274 16.3296 5.2174 16.7815 5.54838C16.9711 5.68718 17.1987 5.76718 17.4336 5.76235L19.1634 5.72676C19.7078 5.71557 20.2155 6.00049 20.4897 6.47111L21.1085 7.53314C21.3862 8.00963 21.38 8.60009 21.0925 9.07068L20.1687 10.5828C20.0481 10.7803 20.002 11.0134 20.0235 11.2439C20.0707 11.7486 20.0707 12.267 20.0235 12.7717C20.002 13.0022 20.0481 13.2353 20.1687 13.4329L21.0924 14.9448C21.3799 15.4154 21.3861 16.0058 21.1084 16.4823L20.4896 17.5444C20.2154 18.015 19.7077 18.2999 19.1633 18.2887L17.4338 18.2531C17.1989 18.2483 16.9713 18.3283 16.7817 18.4671C16.3297 18.7982 15.8416 19.0829 15.3245 19.3142C15.113 19.4089 14.9327 19.564 14.8202 19.7666L14.0047 21.236C13.7403 21.7123 13.2384 22.0078 12.6937 22.0078H11.4312C10.8866 22.0078 10.3847 21.7123 10.1203 21.236L9.30468 19.7665C9.19222 19.5639 9.01191 19.4088 8.80042 19.3142C8.28329 19.0828 7.79519 18.798 7.34316 18.467C7.15362 18.3282 6.92597 18.2482 6.69111 18.253L4.96175 18.2886C4.41733 18.2998 3.90963 18.0148 3.63543 17.5442L3.01663 16.4822C2.739 16.0057 2.74515 15.4152 3.03264 14.9446L3.95631 13.4327C4.07699 13.2351 4.12309 13.002 4.10154 12.7715C4.05437 12.267 4.05438 11.7486 4.10154 11.244C4.12308 11.0135 4.07699 10.7805 3.95631 10.5829Z" stroke="currentColor" stroke-width="1.5"></path><circle cx="12.0625" cy="12.0078" r="3.5" stroke="currentColor" stroke-width="1.5"></circle>
</svg>
Settings
</div>
</div>
<div class="vt-separator vt-separator-h" role="separator"></div>
<div class="vt-combobox-group" data-vt-combobox-group="">
<div class="vt-dropdown-label">Results</div>
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-command-item-icon" aria-hidden="true">
<path d="M5.5 3V8M8 5.5L3 5.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M8 16L6 18M6 18L4 20M6 18L8 20M6 18L4 16" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M20 6L16 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M20 18.5L16 18.5M20 15.5L16 15.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M22 12L2 12" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><path d="M12 22L12 2" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
Calculator
</div>
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxItem(this)">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" class="vt-command-item-icon" aria-hidden="true">
<path d="M20 21.0001C19.713 17.269 16.7289 14.3151 12.995 14.0662L12 13.9999C11.6446 14.0096 11.3134 14.0225 11.0008 14.0378C7.3 14.2192 4.28417 17.3057 4 21.0001" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path><circle cx="12" cy="6.99988" r="4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></circle>
</svg>
Profile
</div>
</div>
<div class="vt-combobox-empty vt-hidden">No results found.</div>
</div>
</div>
Multi-Select
Select multiple items with tags displayed in the input area.
html
<div class="vt-w-80 vt-combobox-wrapper" data-multi="true">
<div class="vt-combobox-tags" onclick="this.querySelector('input').focus(); veritheme.openCombobox('cb-multi')">
<span class="vt-chip vt-chip-sm" data-vt-tag-value="React">
React
<button type="button" class="vt-chip-remove" aria-label="Remove React" onclick="event.stopPropagation(); veritheme.removeComboboxTag(this)"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M18 6L12 12M12 12L6 18M12 12L18 18M12 12L6 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
</span><span class="vt-chip vt-chip-sm" data-vt-tag-value="Vue">
Vue
<button type="button" class="vt-chip-remove" aria-label="Remove Vue" onclick="event.stopPropagation(); veritheme.removeComboboxTag(this)"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M18 6L12 12M12 12L6 18M12 12L18 18M12 12L6 6" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></button>
</span>
<input type="text" onfocus="veritheme.openCombobox('cb-multi')" oninput="veritheme.filterCombobox(this, 'cb-multi')" class="vt-combobox-tags-input" aria-label="Value">
</div>
<div id="cb-multi" class="vt-dropdown-menu" role="listbox" aria-multiselectable="true" data-vt-combobox-content="">
<div class="vt-command-item vt-selected" role="option" aria-selected="true" onclick="veritheme.toggleMultiComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
React
</div><div class="vt-command-item vt-selected" role="option" aria-selected="true" onclick="veritheme.toggleMultiComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Vue
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.toggleMultiComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Angular
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.toggleMultiComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Svelte
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.toggleMultiComboboxItem(this)">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Solid
</div>
<div class="vt-combobox-empty vt-hidden">No results found.</div>
</div>
</div>
With Button Trigger
Combobox with a button trigger instead of an input field.
html
<div class="vt-w-56 vt-combobox-wrapper">
<button type="button" onclick="veritheme.toggleCombobox('cb-button')" class="vt-select-trigger">
<span class="placeholder">Select status...</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg>
</button>
<div id="cb-button" class="vt-dropdown-menu" role="listbox" data-vt-combobox-content="">
<div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxButton(this, 'cb-button')">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Backlog
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxButton(this, 'cb-button')">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Todo
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxButton(this, 'cb-button')">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
In Progress
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxButton(this, 'cb-button')">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Done
</div><div class="vt-command-item" role="option" aria-selected="false" onclick="veritheme.selectComboboxButton(this, 'cb-button')">
<span class="vt-command-item-check"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true">
<path d="M5 13.2592L7.58583 15.9568C8.2525 16.6523 8.58583 17 9.00004 17C9.41425 17 9.74759 16.6523 10.4143 15.9568L19 7" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"></path>
</svg></span>
Canceled
</div>
</div>
</div>
Guidelines
Anatomy
div.vt-combobox-wrapper ← Root
├── input.vt-input ← Field (or .vt-combobox-tags of .vt-chip, or button.vt-select-trigger)
└── div.vt-dropdown-menu[role=listbox] ← List panel
├── div.vt-combobox-group ← Optional group
│ ├── div.vt-dropdown-label ← Group heading
│ └── div.vt-command-item[role=option] ← Option (MenuItem)
│ ├── span.vt-command-item-check ← Check mark (or svg.vt-command-item-icon)
│ └── text ← Option label
└── div.vt-combobox-empty ← No results message
API Reference
| Class | Type | Description |
|---|---|---|
vt-combobox-wrapper |
Base | Root wrapper — positions the list under the field |
vt-input-group,vt-input-icon |
Part | A search field with a leading icon — the Input's own icon slot (16px, 12px in; the text starts 40px in) |
vt-dropdown-menu |
Part | The list panel (Dropdown Menu), full width, 4px under the field; .vt-open shows it |
vt-command-item |
Part | An option — MenuItem; give it role="option" |
vt-command-item-check |
Part | Leading check mark, shown on the chosen option (aria-selected="true") |
vt-field |
Part | With a label or a hint: div.vt-field around a label.vt-label, the vt-combobox-wrapper and a p.vt-field-description (Show Label and Show Helper Text in Figma) |
vt-input-error,vt-combobox-tags-error |
State | An error: danger border on the field (or the tag field); the hint becomes vt-field-error (State=Error in Figma) |
vt-selected |
State | The chosen option (with aria-selected="true") |
vt-combobox-group |
Part | A group of options under a .vt-dropdown-label; groups are divided by a .vt-separator |
vt-combobox-tags |
Part | Multi-select field: chips and an input in one bordered box — padded like an Input (8px × 12px), 40px tall for one row of small chips, 6px between chips and rows, focus ring on focus-within |
vt-chipvt-chip-sm |
Part | A chosen value in the tag field — a small Chip with data-vt-tag-value |
vt-chip-remove |
Part | The chip's remove button (12px X), labeled "Remove …" |
vt-combobox-tags-input |
Part | The bare input inside the tag field |
vt-select-trigger |
Part | Button trigger — the Select trigger: value on the left, chevron on the right; its span.placeholder is muted until a value is chosen |
vt-combobox-empty |
Part | No-results line, shown by the filter |
data-multi |
Attribute | On the wrapper — several values |
data-vt-keep-icons |
Attribute | On the wrapper — options keep their own icons instead of a check mark |
Accessibility
| Feature | Details |
|---|---|
| Roles | The list is role="listbox", each option role="option" with aria-selected |
| Focus | Dropdown opens on input focus, closes on click outside |
| Keyboard | Type to filter options in real-time |
| Selection | Click to select — the check mark and aria-selected mark the current value |
| Multi-select | Tags display selected items, each X button (labeled) removes one |
| Empty state | Shows "No results found" when filter matches nothing |