Jump to a page or a component.
The same box as Input, so fields and selects read as one family.
No install — ask an AI agent to copy this component from registry.json.
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "@/components/ui/select";The props worth knowing. Everything else passes straight through to the underlying element, including className, which is merged last so it always wins.
| Prop | Type | Default | Description |
|---|---|---|---|
| size (SelectTrigger) | "default" | "sm" | "default" | 36px or 32px, the latter for dense toolbars. |
| position (SelectContent) | "item-aligned" | "popper" | "item-aligned" | How the open list anchors. |