Drawer
Component preview
A temporary panel that slides from a viewport edge, overlays the page, and closes when its focused task is finished.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: side drawer, slide-over, side sheet
Try it
Compare all three behaviors
Shared comparison scenario: A workspace places supporting navigation or controls along a screen edge while the main task stays in context.
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Drawer
A Drawer is temporary and overlays content; a Sidebar stays in the layout, while a Bottom sheet is anchored to the bottom and supports mobile drag behavior.
Your task
Open the right-edge Filters, enable In stock, apply it, then reopen and press Escape to verify the draft is discarded and focus returns.
Edge case to verify
At 320 px every filter and action remains reachable, and Escape closes without applying a changed draft over the furniture results.
Mission
Open the right-edge Filters, enable In stock, apply it, then reopen and press Escape to verify the draft is discarded and focus returns.
12 results
Office furniture
Compact desk
In stock
Adjustable chair
Made to order
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Backdrop
The layer that separates a modal surface from inactive page content.
Enter from an edge
The temporary panel overlays the page and moves in from a defined viewport edge.
Contain focus
While modal, keyboard focus stays inside the surface until it closes.
Dismiss with Escape
Escape closes the temporary surface and returns focus to a sensible control.
Drawer closed
Drawer closed
Drawer open
Drawer open
Drawer closed → Drawer open
The Filters trigger is activated and the temporary panel enters from the right edge.
Drawer open → Drawer closed
Apply, Close, or Escape dismisses the drawer and restores focus to Filters.
Dialog.Root
Equivalence caveat: Radix has no Drawer primitive. This binding composes Dialog as a modal side panel and keeps placement separate from modality.
Verify binding sourceW3C WAI · standard · 2026-07-16
Claim covered: Drawer: modal dialog labeling, initial focus, focus containment, Escape dismissal, and focus return guidance.
shadcn/ui · documentation · 2026-07-16
Claim covered: Drawer: documented shadcn Sheet recipe built on Radix Dialog and its side-placement composition.
Verified on 2026-07-16 · rev. 1