StableAction
Open drawer page
Overview
Slides a drawer page in from the side of the screen, keeping the current page visible behind it.
Purpose
Drawers suit side panels: filters, record previews, quick notes or a cart. Like modals, the content is a page of type Drawer. Choose a drawer when the user benefits from still seeing the list behind it.
Inputs
- Page — a page of type Drawer.
- Page parameters — values for the drawer page's route parameters (for example
id = Current record › id).
Configuration
- Create the drawer page (Pages → Add page → Drawer) and design it with a narrow layout in mind.
- Add Close drawer to the drawer's own buttons; the user can also close it with the overlay's close control.
Outputs
- None. Inside the drawer the parameters are available as
Page parameters.
Example
Preview a quote from a list
Example
List › On row click:
1. Open drawer page
Page: Quote preview (drawer, /quotes/:id/preview)
Page parameters: id = Event › idErrors
- A deleted target page is reported by the publish checklist; the action is ignored at runtime.
Limitations
- Drawers are not addressable by URL and close on page refresh.
- Only one page is shown per drawer; nest components, not pages.
Advanced
- Schema:
{ type: "open_drawer", pageId, params? }. Shares the overlay stack with modals.