Overlays Drawer

Components

Drawer

A panel that slides in from the edge for secondary flows.

Default

Sides, height & scrolling

direction opens the drawer from the right, left, top, or bottom (Sides); a fixed h-[320px] replaces the default max-height (Custom height); the changelog body scrolls inside a capped panel (Scrollable Content). For the Responsive Dialog pattern, swap the Drawer for a Dialog above a breakpoint (useMediaQuery) — same trigger and content, Dialog on desktop, Drawer on mobile.

Markdown for agents: /design/drawer.md · spec: /design.md