Function: Select()
Select<
T>(__namedParameters):any
Defined in: components/Select/Select.tsx:122
A semantic dropdown selection built on React Aria.
Composes a trigger Button, a floating Popover, and a ListBox.
Use SelectItem for each option.
Entity = Selection, interaction = select.single. Validation feedback is
driven by React Aria's isInvalid and surfaces on the trigger via the
invalid token State.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends object | object |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | SelectProps<T> |
Returns
any
Example
<Select label="Framework" placeholder="Choose a framework">
<SelectItem id="react">React</SelectItem>
<SelectItem id="vue">Vue</SelectItem>
<SelectItem id="angular">Angular</SelectItem>
</Select>