Skip to content

Select

Allows users to pick one or more options from a collapsible dropdown menu, keeping forms compact and easy to navigate.

9.6 KB
•
Updated on August 21, 2026

Installation

Bash

Usage

Code

Anatomy

Code

Features

Sizes

Select triggers in sm, default, and lg sizes.

Accessibility

Keyboard Interactions

Disabled State

Select component rendered in a disabled state via disabled.

Disabled Items

Select containing individual disabled option items.

API Reference

Select

Root component. Alias for Select.Root from Base UI.

SelectTrigger

Trigger button that opens the select dropdown. Styled wrapper for Select.Trigger from Base UI.

SelectValue

Displays the selected value. Styled wrapper for Select.Value from Base UI.

SelectPopup

Popup container for select options. Also exported as SelectContent.

SelectItem

Individual select option. Styled wrapper for Select.Item from Base UI with built-in indicator.

SelectGroup

Groups related select items. Alias for Select.Group from Base UI.

SelectLabel

Label for all options in the popup. Styled wrapper for Select.Label from Base UI. Clicking it focuses the select trigger without opening the popup.

SelectGroupLabel

Label for a select group. Styled wrapper for Select.GroupLabel from Base UI.

SelectSeparator

Visual separator between items. Styled wrapper for Select.Separator from Base UI.

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.

Code
Code

Examples

Select without item alignment
Select with groups
Multiple select
Select with icon
Select options with icon
Select with object values
Select in form
Timezone select
Status select with colored dot
Pill-shaped select trigger
Select with left text label
Select with country flags
Select with description in options only
Select with avatars
Rich select with avatars and usernames
Auto width select
Select with custom border and background
Select with label