Components/Select

Select

Accessible dropdown built on Radix UI Select with grouped options, custom trigger, and portal rendering.

Installation

Examples

Default

Basic select with placeholder and options.

With groups

Grouped options using SelectGroup and SelectLabel.

States

Disabled and invalid states.

API Reference

PropTypeDefaultDescription
valuestringControlled selected value.
onValueChange(v: string) => voidCalled when selection changes.
placeholderstringShown when no value is selected.
disabledbooleanfalseDisables the select.
size'sm'|'md'|'lg''md'Controls height and font size.