A versatile Select component for choosing from a list of options.
Anatomy
<Select.Root>
<Select.Label />
<Select.Trigger />
<Select.Content>
<Select.Group>
<Select.Item />
</Select.Group>
<Select.Separator />
</Select.Content>
</Select.Root>Examples
Label Positions
The label can be positioned with the position prop: top, left, or inside.
Variants
Select components come with three built in variants, outlined, solid, and clear, each shown across all label positions.
Groups
Items can be organized into groups using Select.Group with a title, separated by Select.Separator.