Select

Single or multiple-selection dropdown control.

Quick Preview

Composition

Use this public composition when building Select:

Select
├── SelectTrigger
│   └── SelectValue
└── SelectContent
    ├── SelectGroup
    ├── SelectLabel
    ├── SelectItem
    └── SelectSeparator

Usage

<Select defaultValue="standard"><SelectTrigger><SelectValue /></SelectTrigger><SelectContent><SelectItem value="standard">Standard</SelectItem></SelectContent></Select>

Examples

Optional actions

Use the header and footer slots for actions that are not selectable values. SelectHeader is styled for a primary creation action; SelectFooter is a quieter secondary action suitable for clearing the current value.

Sizes

Use size to align trigger and menu density with the surrounding form.

Multiple Selection

Set multiple when the field accepts more than one selected value.

Props

Prop/APITypeDefaultDescription
size`"sm""md""lg"`
multiplebooleanfalseAllows multiple selected values.
unstyled on SelectTriggerbooleanfalseRemoves trigger styles for custom composition.
classNamestring-Local layout or spacing overrides.
native/root propsReact component props-Passed through to the underlying root or primitive.

Accessibility

  • Preserve the documented Select composition so labels, triggers, content, and controls remain connected.
  • Provide visible labels or accessible names for interactive controls.
  • Preserve the component-provided focus, keyboard, disabled, and invalid-state behavior.
  • Do not communicate state with color alone; include text, icons, or helper copy.

On this page