Salmon UI Dropdowns documentation
Every page below embeds live demos; each demo also has a standalone route.
Listbox
- Listbox
A persistent single- or multiple-selection list with APG keyboard support, checkboxes, select all, a selection limit, disabled items, form submission and styling parts.
- Listbox search, grouping and remote data
Search with operators and accent folding, grouped lists with a sticky header, the virtual list, remote @salmonui/data sources and item, empty, loading and error templates.
- Dual list and reordering
Reorder Listbox items from the keyboard or by drag and drop, drag items between lists, and build a dual list with moveItems and reorderItems.
Components
- Select
The select-only dropdown from @salmonui/dropdowns/select, with search, forms, events, a lazy popup and an adaptive sheet mode.
- Combobox
The editable dropdown from @salmonui/dropdowns/combobox, with list autocomplete, inline autofill, custom values and IME support.
- Mention
Mention over a textarea or an input - several trigger characters, a suggestion list at the caret, keyboard selection, plain-text insertion that keeps undo, IME-safe detection and remote suggestions.
- TreeSelect
TreeSelect from @salmonui/dropdowns/tree-select - a select-only combobox with a tree popup, nested or flat data, lazy children, search that keeps ancestors, templates and forms.
Recipes
- Select multiple
Multiple selection without typing on Select multiple, with checkboxes, joined labels, select all, group selection, limits and summaries.
- AutoComplete
AutoComplete as a Combobox recipe - free text with suggestions from the first character, contains matching, capped and highlighted results.
- Combobox multiple
Typing multiple selection with Combobox multiple - chips in the field, custom values, removable chips, keyboard chip navigation and values added on blur.
- MultiColumn ComboBox
A multi-column lookup as Combobox columns - a lightweight grid popup with column widths, alignment, formats, templates, sorting and multi-field search.
- TreeSelect checkboxes
Multiple TreeSelect - tri-state checkboxes with cascade or independent checks, select all, and the text, chips, count and custom value displays.
Guides
- Templates
Render props for options, the value, chips, group headers, the popup header and footer, and the empty, error and loading states of Select and Combobox.
- Data, search and the popup
Data and accessors, item-key values, list order, search and type-ahead, controlled and remote filtering, remote sources and value labels, virtualization limits, popup size, placement, stacking and dismissal across Select, Combobox, Listbox, Mention and TreeSelect.
- Forms and appearance
Form submission through a hidden native select, reset, required, disabled and read-only states, clear buttons, styling hooks, RTL and texts of Select and Combobox.
- Accessibility and performance
WAI-ARIA patterns, screen reader announcements, forced colors, contrast, touch and focus rules, and the performance budgets the dropdowns are gated on.