Forms
Select
Dropdown selection with keyboard nav and type-ahead.
Sourceselect.tsx
Primitive
@radix-ui/react-select
Select
Dropdown selection.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | -- | Controlled value. |
defaultValue | string | -- | Default value for uncontrolled usage. |
onValueChange | (value: string) => void | -- | Called when selection changes. |
disabled | boolean | false | Disable the select. |
Related
Usage
import { Select } from "@doss/tetris-ui";