Select

Animated select menu with proximity hover, bordered/borderless variants, optional leading icons, and spring-animated popover.

Installation

Basic

Inspect

Variants

Inspect

With Icons

Inspect

Groups

Inspect

Scrollable List

Inspect

Error State

Inspect
Please select a role to continue.

Disabled

Inspect

API Reference — Select

PropTypeDefaultDescription
valuestringControlled selected value.
defaultValuestringUncontrolled default value.
onValueChange(value: string) => voidCalled when the selected value changes.
disabledbooleanfalseDisables the entire select.
namestringName for form submission.
requiredbooleanfalseMarks the select as required in forms.

API Reference — SelectTrigger

PropTypeDefaultDescription
variant"bordered" | "borderless""bordered"Visual style of the trigger.
iconIconComponentOptional icon displayed before the value.
placeholderstring"Select…"Text shown when no value is selected.
errorstringError message shown below the trigger.

API Reference — SelectItem

PropTypeDefaultDescription
indexnumberPosition index within the content for proximity hover.
valuestringUnique value for this option.
iconIconComponentOptional icon displayed before the label.
disabledbooleanfalseDisables this individual item.