A custom dropdown whose menu tips open like a lid. Arrow keys, type-ahead and Escape work, and it opens upward when there is no room below.
Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.
| Prop | Type | Default | Description |
|---|---|---|---|
| options | SelectOption[] | Choices in the dropdown, each with a value and label. | |
| value | string | Selected value when controlled. | |
| defaultValue | string | Starting value when uncontrolled. | |
| onValueChange | (value: string) => void | Called with the new value when an option is picked. | |
| placeholder | string | "Select…" | Text shown when nothing is selected. |
| disabled | boolean | Turns off interaction when true. | |
| name | string | When set, a hidden input is rendered so the value posts with a form. | |
| aria-label | string | Required: names the select for screen readers. | |
| className | string | Extra classes added to the outer element. |