1. Docs
  2. Components
  3. Select

Select

A select displays a collapsible list of options and allows a user to select one of them.

Installation

The Select is built using a composition of the <Popover /> and the <Listbox /> components.

See installation instructions for the Popover and the Listbox components.

Anatomy

Examples

With Label

Scrollable

Infinite Scroll

Multiple Selection

Form

API Reference

Select.Root

PropTypeDefault
selectedKey
Key
defaultSelectedKey
Key
onSelectionChange
function
isOpen
boolean
defaultOpen
boolean
onOpenChange
function
isDisabled
boolean
isRequired
boolean
isInvalid
boolean
name
string
placeholder
string

Select.Trigger

PropTypeDefault
children
ReactNode
className
string

Select.Value

PropTypeDefault
placeholder
string
children
ReactNode
className
string