Open task detailsReview and update the Q3 roadmap.
CancelSave changes Open leftContextual tools for the current page.
Open rightRelated details and editing.
Open topWide controls that stay close to the page.
Open bottomA focused task that enters from the lower edge.
Placement and size
Choose left, right (default), top, or bottom. Sizes sm, md, and lg control width for side drawers and height for top or bottom drawers.
Drawer or Modal?
Use Drawer for a task related to the page, Modal for a short decision, and a full page for longer workflows.
API reference: <cad-drawer>
close-labelcloseLabelstring'Close drawer'close-on-backdropcloseOnBackdropbooleantrueheadingheadingstring''openopenbooleanfalseplacementplacementCadDrawerPlacement'right'sizesizeCadDrawerSize'md'closeLabelstringclose-labelnocloseOnBackdropbooleanclose-on-backdropyesheadingstringheadingnoopenbooleanopenyesplacementCadDrawerPlacementplacementyessizeCadDrawerSizesizeyescad-drawer-openCustomEventFired after the drawer opens.cad-drawer-closeCustomEventFired after the drawer closes and reports why.(default)Scrollable drawer content.triggerOptional element that opens the drawer when activated.titleDrawer heading. Falls back to the `heading` attribute.footerSupporting actions anchored to the drawer edge.baseNative dialog covering the viewport.bodyScrollable content area.close-buttonExplicit dismiss button.footerOptional action area.handleDecorative bottom-drawer drag affordance.headerHeading and dismiss control.panelDrawer surface.titleVisible heading.triggerTrigger slot container.--cad-drawer-borderPer-instance panel border color.--cad-drawer-sizePer-instance width or height override.--cad-drawer-surfacePer-instance panel surface color.Accessibility
Background content is inactive and focus stays in the drawer. Escape, the close button, or an enabled backdrop click dismiss it and restore focus. cad-drawer-close reports the dismissal reason.