Drawer
Overlays

Drawer.

A slide-in panel with semantic dialog interaction.

Real interactive component
Live demo

Account settings

An accessible side panel.

The preview uses the actual shared component, including your current theme, rounding, border and motion preferences.

Props & API reference

Parameters available in the shared component, including value types, requirements and accepted options.

7 props
ParameterTypeRequiredDefaultPossible valuesDescription
openbooleanYes—true · falseControlled drawer state.
onOpenChange(open: boolean) => voidYes——Closing/visibility callback.
titlestringYes——Accessible panel heading.
childrenReactNodeYes——Drawer body.
descriptionstringNo——Optional context.
footerReactNodeNo——Footer content/actions.
side"right" | "left" | "bottom"Norightright · left · bottomEdge the drawer enters from.