Drawer
Drawers slide content in from an edge — filters, settings, or auxiliary nav. OverlayDrawer (alias Drawer) teleports a modal panel with backdrop; InlineDrawer keeps the panel in your layout. Bind open with OpenBind; set position, size, and whether backdrop click or Escape dismisses.
Prefer composed scrims inside Dialog and Backdrop unless you need a standalone loading overlay. Bind open with OpenBind at the app root and pass signals down — share one open signal between trigger, backdrop dismiss, and footer buttons rather than relying on implicit internal-only state.
- Filters, settings, or detail panels triggered from a page action
- Modal overlay from an edge —
OverlayDrawer/Drawer - Persistent in-layout panel —
InlineDrawer
- Bind
openwithOpenBind(typicallyRwSignal<bool>). - Choose
OverlayDrawerfor teleported modal panels orInlineDrawerfor in-layout panels. - Set
mask_closeable=falsewhen backdrop clicks should not dismiss. - Compose
DrawerHeaderandDrawerBody; addDrawerHeaderTitleActionfor header actions.
Inline drawer stays in the preview card; an overlay trigger exercises teleported panels for migration smoke tests.
Title
Modal panel that slides in from the right edge—the default drawer placement for detail panels, filters, and secondary workflows triggered by a button.
Panel anchored to the left edge, suited for navigation rails or persistent secondary content that mirrors a sidebar pattern.
Panel that drops from the top of the viewport—useful for banners, quick filters, or mobile-style sheets that occupy horizontal space.
Panel that rises from the bottom edge, a common pattern for action sheets, pickers, and thumb-friendly mobile overlays.
Drawer that dismisses when the user presses Escape via close_on_esc=true. Enable this when keyboard users should be able to exit without clicking the backdrop.
Wider panel preset using size=DrawerSize::Large for forms, multi-column detail, or content that needs more room than the default small width.
Drawer that ignores backdrop clicks via mask_closeable=false. Use when dismissal must happen through an explicit close action.
Drawer header with a trailing action slot beside the title.