Select

A common form component for choosing a predefined value in a dropdown menu.

Usage

API Reference

Select

Root component.

SelectTrigger

Trigger button that opens the select dropdown.

SelectValue

Displays the selected value.

SelectPopup

Popup container for select options. Also exported as SelectContent.

SelectItem

Individual select option. Includes built-in indicator.

SelectGroup

Groups related select items.

SelectLabel

Label for all options in the popup. Clicking it focuses the select trigger without opening the popup.

SelectGroupLabel

Label for a select group.

SelectSeparator

Visual separator between items.

SelectButton

A standalone button styled like a SelectTrigger. Use it as a render prop on other trigger components (e.g., ComboboxTrigger, MenuTrigger) to give them select-like appearance.

Examples

For accessible labelling and validation, prefer using the Field component to wrap selects. See the related example: Select field.

Small Size

Large Size

Disabled

Without Item Alignment

With Groups

With Label

Multiple Selection

With Icon

Options with Icon

With Object Values

SelectButton with Combobox

Use SelectButton as a render prop on ComboboxTrigger to create a combobox that looks like a select.

Form Integration