Select
Pick one option from a list. Keyboard typeahead, groups, and a popper that animates in the style's motion.
FormsRadix Select
Needs the @dumb registry in components.json and the style tokens. See Installation.
API reference
Matches shadcn/ui. Native props are forwarded.
SelectTrigger
| Prop | Type | Default |
|---|---|---|
| size | "default" | "sm"Trigger height. | "default" |
SelectContent
| Prop | Type | Default |
|---|---|---|
| position | "popper" | "item-aligned"Popper anchors below the trigger; item-aligned overlays it like macOS. | "popper" |
- SpaceEnter
- Opens the list, or selects the focused item.
- ArrowUpArrowDown
- Moves between items.
- Esc
- Closes the list.
- A to Z
- Typeahead to matching item.