Dialogs

A dialog focuses attention on a task or decision. Titles use sentence case; allow one primary action per dialog. Use modals sparingly — they interrupt workflow.

When to use

When not to use

Choose the right pattern

Pattern Blocks app Best for
Modal dialog Yes Confirmations, critical decisions, short forms
Modeless dialog No Tools that adjust the active view with live preview
Feature panel No Multi-section settings, wizards, persistent side panels
Bubble No Lightweight contextual UI anchored to a trigger

Anatomy

Element Description
Scrim Dimmed backdrop for modal dialogs
Container Raised surface (elevation overlay level)
Title Brief, clear — avoid alarmist copy
Body Concise context; do not repeat the title
Actions Max two recommended; one primary only

Button placement

Primary action on the right, secondary on the left. Labels should be outcome verbs: Delete, Save, Continue — not vague Yes/Submit.

Example

Light mode

Capture settings

Changes apply to the next capture only.

Dark mode

Capture settings

Changes apply to the next capture only.

Accessibility

Related components