Drawer

A drawer component that slides out from the edge of the screen.

The Drawer component displays a panel that slides in from the edge of the screen. It includes a backdrop, close button, and supports keyboard navigation (Escape to close). Built from scratch using React and native HTML elements. No dependencies on any UI library.

Quick Install

Install via shadcn/ui CLI

Examples

Default

Bottom

With Scrollable Content