Select

Dropdown selection control for choosing from a list of options

Preview

Installation

Usage

Examples

Controlled

Manage select state externally.

Selected: none

With Groups

Organize options into labeled groups.

With Icons

Add icons to select options for visual context.

Multiple Selection

Select multiple options from the list.

With Scroll

Handle long lists with scrollable content.

Align Item with Trigger

Align selected item with trigger position.

Object Values

Use objects as values instead of primitives. The itemToStringValue prop converts objects to strings for form submission.

API Reference

The Select component is built on top of Base UI's Select. All Base UI props are supported. The documentation below only covers custom props and modified defaults specific to our implementation.

For the complete Base UI API, see the Base UI Select documentation.

Props

SelectValue

Displays the selected value or placeholder text. Wraps Base UI's Select.Value.

Prop

SelectTrigger

Button that opens the dropdown when clicked. Wraps Base UI's Select.Trigger.

Prop

SelectContent

Dropdown container for the option list with positioning. Composes Base UI's Select.Positioner and Select.Popup. Props are forwarded to Select.Popup.

Prop