Select
selectA choice from a list too long for radio buttons. Grouped with labels, an inline check on the selected option, typeahead and arrow-key navigation from the Base UI select primitive, and a trigger that reads as a field rather than as a button so it sits beside inputs without looking wrong.
import {
Select,
SelectContent,
SelectGroup,
SelectItem,
SelectLabel,
SelectTrigger,
SelectValue,
} from "@/components/forme/select/select";
export function SelectDemo() {
return (
<div className="flex w-full max-w-xs flex-col gap-6">
<Select defaultValue="yearly">
<SelectTrigger aria-label="Billing plan">
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="yearly">Pay yearly — $129</SelectItem>
<SelectItem value="lifetime">Pay once — $199</SelectItem>
</SelectContent>
</Select>
<Select defaultValue="eu">
<SelectTrigger aria-label="Region">
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectGroup>
<SelectLabel>Europe</SelectLabel>
<SelectItem value="eu">Frankfurt</SelectItem>
<SelectItem value="uk">London</SelectItem>
</SelectGroup>
<SelectGroup>
<SelectLabel>Americas</SelectLabel>
<SelectItem value="us-east">Virginia</SelectItem>
<SelectItem value="us-west">Oregon</SelectItem>
</SelectGroup>
</SelectContent>
</Select>
</div>
);
}Install
Adds the component, its registry dependencies, and the token stylesheet you import once.
Usage
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/forme/select/select";
<Select defaultValue="eu">
<SelectTrigger>
<SelectValue />
</SelectTrigger>
<SelectContent>
<SelectItem value="eu">Europe</SelectItem>
<SelectItem value="us">United States</SelectItem>
</SelectContent>
</Select>When to use
Reach for it
- Picking one value from a list too long for radio buttons, such as a region, a timezone or a role.
Use something else
- Two to five options that should all be visible; use a
RadioGroupor aSegmentedControl. - Choosing several values; that is a
MultiSelect. - Running actions — a list of actions is a
Dropdown.
API reference
Read from the source, so it is the API of the file you install. A prop marked * is required.
SelectTrigger
| Prop | Type | Default | Description |
|---|---|---|---|
asChild | boolean | — | Render as the single child element instead of a <button>, keeping the trigger behaviour. |
Also takes every prop of Base UI Select.Trigger.
SelectItem
| Prop | Type | Default | Description |
|---|---|---|---|
destructive | boolean | — | Renders destructive: for an option the reader should think twice about. |
Also takes every prop of Base UI Select.Item.
The other parts
SelectTakes Base UISelect.RootSelectValueTakes Base UISelect.ValueSelectContentTakes Base UISelect.PopupandPick<ComponentProps<typeof SelectPrimitive.Positioner>, "side" | "sideOffset" | "align">SelectLabelTakes Base UISelect.GroupLabelSelectGroupTakes Base UISelect.Group
Accessibility
- Base UI gives it the listbox pattern: typeahead, arrow keys, Home and End, and Esc to close.
Motion
- The list grows from the trigger with a slight scale and blur, and exits faster than it enters.
Related


Checkbox
A single choice with a visible label wired to it for a screen reader. Carries a destructive variant for choices that cannot be undone, and the box itself fills with the accent when checked so the state is readable at a glance.
forms

Radio group
A choice of exactly one option, where the group owns the value and the arrow keys travel in the direction the options are laid out. Horizontal and vertical are the same component with an orientation, and a disabled option reads as present but unavailable.
forms

Switch
A control for a setting that takes effect immediately, with a label wired to it for a screen reader. Optional on and off text inside the track, and the thumb travels on a single transform so the motion stays smooth.
forms