Select

Composable select whose menu fades and scales out of the trigger, and opens upward when there is no room below.

Preview

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @easeui/select

API Reference

ComponentPropTypeDefaultDescription
Selectvalue?string--
SelectdefaultValue?string--
SelectonValueChange?((value: string) => void)--
Selectopen?boolean-Controlled open state.
SelectdefaultOpen?booleanfalseInitial open state when uncontrolled. Default false.
SelectonOpenChange?((open: boolean) => void)--
Selectdisabled?booleanfalse-
SelectclassName?string--
SelectTriggerclassName?string--
SelectValueplaceholder?string--
SelectValueclassName?string--
SelectContentclassName?string--
SelectItemvaluestring--
SelectItemdisabled?booleanfalse-
SelectItemclassName?string--

Updated