Toggle Sidebar B
AppearanceLight & dark mode D

Select

Single-value dropdown built on reka-ui. There is no multiple prop: selecting several values is Combobox with multiple and ComboboxChips. For pickers that need search across many options, use Combobox instead.

Default

Trigger, value placeholder, then SelectItem rows inside Content.

Replay preview

With groups

Group options with SelectGroup and SelectLabel, divided by a SelectSeparator. Labels are visual separators, not selectable.

Replay preview

Item aligned

Set position to item-aligned so the content opens over the trigger with the selected item lined up, instead of the default popper placement below it.

Replay preview

Scrollable

Long lists scroll inside the content with up/down scroll buttons at the edges.

Replay preview

Invalid

Set aria-invalid on the trigger to show the error ring.

Replay preview

Disabled

The disabled attribute on the Select root disables the trigger.

Replay preview

API Reference

Select

PropTypeDefaultDescription
modelValuestringSelected value. Supports v-model.
defaultValuestringStarting value when v-model is not used.
disabledbooleanfalseDisable the entire select.
EventDescription
update:modelValueFires when the value changes. Enables v-model.
update:openFires when the dropdown opens or closes.

SelectTrigger / SelectContent

PropTypeDefaultDescription
classstringUse class to set trigger width (e.g. w-[220px]).
size"sm" | "default""default"(SelectTrigger) Trigger height.
aria-invalidboolean(SelectTrigger) Show the destructive error ring.
position"popper" | "item-aligned""popper"(SelectContent) popper places the panel below the trigger; item-aligned overlaps the trigger with the selected item.

SelectItem

PropTypeDefaultDescription
valuestringValue committed when selected.
disabledbooleanfalseBlock selection of this item.
EventDescription
selectFires when the item is chosen.

SelectGroup / SelectLabel / SelectValue / SelectSeparator

PropTypeDefaultDescription
placeholderstring(SelectValue) Text shown when nothing is selected. Group/Label organise items; Separator divides them.

Accessibility

Keyboard shortcuts and ARIA behavior.

Shortcut Description
SpaceOpens the listbox when the trigger is focused.
EnterOpens the listbox, or selects the highlighted option.
Moves the highlight to the previous option.
Moves the highlight to the next option.
HomeMoves the highlight to the first option.
EndMoves the highlight to the last option.
EscCloses the listbox and returns focus to the trigger.
  • Follows the listbox pattern; the trigger exposes aria-expanded and the active option via aria-activedescendant.
  • Type-ahead jumps to options whose label starts with the typed characters.
  • Selected option is marked with aria-selected.