Dialog
Navigation
TabsLayout
Tiered PageOverlays
Dialog
A modal window requiring user decision before proceeding.
$ npx verticallyworks add dialogDesign question
How does a dialog present in a full-vertical interface without disorienting the user?
Default
The content reads vertically · title, body, and actions as columns flowing right-to-left. The dialog still scales up from center (not from a trigger), which reads as a layer above the page rather than a continuation of the reading flow.
Source
The exact file npx verticallyworks add dialog copies into your project · yours to edit. Styling comes entirely from the design tokens.
Guidance
Do
- Animate with scale-up from center · avoids reading-axis conflict
- Keep dialogs to a maximum of 2 actions
- Trap focus inside the dialog until dismissed
Don't
- Animate dialogs from the reading direction edges
- Use dialogs for non-critical information (use Toast instead)
- Place vertical text inside a dialog · it reads like content, not a decision interface