FORMS
Select
Composable dropdown built on Radix Select. Same Memphis border + focus shadow as Input. For multi-select or fuzzy search, reach for Combobox.
Import
Basic usage
Grouped options
Wrap related items in SelectGroup with a non-interactive SelectLabel. Use SelectSeparator between groups.
Props (Select root)
Select props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled selected value. Pair with onValueChange. |
| defaultValue | string | — | Uncontrolled initial selected value. |
| onValueChange | (value: string) => void | — | Fires whenever the selection changes. |
| disabled | boolean | — | Disables the trigger. |
| name | string | — | Native form name. |
| open | boolean | — | Controlled open state of the dropdown. Pair with onOpenChange. |
| onOpenChange | (open: boolean) => void | — | Fires whenever the dropdown opens or closes. |
Accessibility
- Trigger renders
role="combobox"witharia-expandedandaria-controls. - Inherits Radix Select keyboard support: type-ahead, arrow navigation, Home/End, Esc to close.
- Provide a label for the trigger via
FormFieldoraria-labelledbywhen no visible label exists.