- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Select
Displays a list of options for the user to pick from—triggered by a button.
Was this example helpful?
Usage#
API Reference#
Select
This component is based on Radix UI Select.
It also accepts all props of the HTML select
component.
Prop | Type | Default |
---|---|---|
size | "base" | "small" | "base" |
Was this page helpful?
Select.Trigger
The trigger that toggles the select.
Select.Label
Used to label a group of items.
Select.Item
An item in the select. It's based on Radix UI Select Item and accepts its props.
Examples#
Small#
Was this example helpful?
Disabled#
Was this example helpful?
Grouped Items#
Was this example helpful?
Controlled#
Was this example helpful?