Select
Pick one option from a list.
Installation
import { Select } from "~/components/ui/Select";Usage
<Select
defaultValue="managed"
items={[{ value: "managed", label: "Managed IT" }, ...]}
/>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| items | { value, label }[] | - | The options to choose from. |
| value / defaultValue | string | - | Selected value (controlled / uncontrolled). |
| onValueChange | (value: string) => void | - | Selection handler. |
Accessibility
- Built on the Base UI Select primitive: keyboard navigation, typeahead, and listbox ARIA.