Search
Search components and blocks
Morph Select
ProA select where the trigger itself morphs into the option list: one surface grows from button to a grouped, scrollable menu. Arrow keys, Enter, Escape and type-ahead work from the trigger. Options stagger in, a single highlight slides between them, and the chevron and checkmark spring.
Props
PropTypeDefault
options{ label: string; value: string; group?: string; description?: string; icon?: ReactNode }[]—valuestring—defaultValuestring—onValueChange(value: string) => void—placeholderstring"Select..."openWidthnumber300align"start" | "end""start"classNamestring—When to use the morph select
Use it when you want a select whose trigger morphs into the option list. One surface grows from the button to a grouped, scrollable menu.
Open the CLI tab on any preview above for the exact shadcn command. The source is copied into your project, so you can edit it like any other file.