Design System v1.0

Drawer

Panels that slide in from any edge of the screen.

Swipe direction (top · right · bottom · left)

A drawer that can open from any of the four edges.

API reference

A swipeable panel that slides in from an edge: a Trigger opens a portalled overlay + Content, with header/footer, title, and description.

Full props on Base UI Drawer
Anatomy
DrawerRoot setting modality, snap points, and swipe direction.
DrawerPortalRenders the drawer outside the DOM tree.
DrawerOverlaySwipe-aware dimmed backdrop behind the drawer.
DrawerSwipeHandleAria-hidden grip for dragging the drawer.
DrawerTriggerElement that opens the drawer on click.
DrawerCloseButton that closes the drawer.
DrawerContentPortalled panel that slides in from an edge.
DrawerHeaderStyled div stacking the title and description.
DrawerFooterStyled footer pinned to the bottom.
DrawerTitleStyled heading text for the drawer.
DrawerDescriptionMuted supporting text under the title.

Command Palette

Search for a command to run...