A side panel or bottom sheet that slides in with a slight 3D tilt. Esc and a backdrop click close it, Tab stays inside, and focus returns to the button that opened it.
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 |
|---|---|---|---|
| open | boolean | Whether the drawer is visible. | |
| onClose | () => void | Called when the user asks to close the drawer. | |
| side | "right" | "left" | "bottom" | "right" | Edge it slides in from: "right" (default), "left" or "bottom". |
| title | string | Heading of the drawer. Also names it for screen readers. | |
| description | string | Short text shown under the title. | |
| children | ReactNode | Content shown in the body. It scrolls if it is long. | |
| footer | ReactNode | Buttons row pinned to the bottom. | |
| className | string | Extra classes added to the panel. |