Selection
Select
Choose one option from a list. The popup aligns the selected item over the trigger, as macOS does.
npx dtheo@latest add selectThe command the bench applies to the actuator.
When to use
- 5 to ~15 options that need no search
- Long or searchable lists: use Combobox
- 2 to 4 options: use a segmented control or radio group
Keyboard
- EnterSpaceArrow down
- Opens the list
- Arrow keys
- Move the highlight
- Type a letter
- Jumps to the matching option
- Escape
- Closes without changing the value
- Exactly one chevron, in the icon slot. The checkmark marks the selected item in its own column.