Forms

Select

Dropdown selection with keyboard nav and type-ahead.

Primitive

@radix-ui/react-select

Select

Dropdown selection.

API Reference

PropTypeDefaultDescription
valuestring--Controlled value.
defaultValuestring--Default value for uncontrolled usage.
onValueChange(value: string) => void--Called when selection changes.
disabledbooleanfalseDisable the select.

Usage

import { Select } from "@doss/tetris-ui";