Dialog
Dialogs appear in front of other content to ask for a decision or inform users of important information.
- CSS
- Marko
- React

Focused
Dialogs focus the user on a single task or piece of critical information.
Responsive
Dialogs are initiated by the user either explicitly or implicitly. They are not system-generated.
Intentional
Dialog content is necessary and helpful for the user to complete a larger goal.
Type
There are three types of dialogs available depending on the type of decision and number of actions present.

Alert
Alert dialogs require the user’s attention. They are usually presented by the system, not an explicit user action, so they are highly disruptive. Alerts have a single action and can only be dismissed through the action.

Confirm
Confirm dialogs inform users of a decision’s impact. These dialogs present two actions and are dismissed by interacting with one of them.

Task
Task dialogs request users to complete a focused task or provide more information related to an element on the main page. The content can vary depending on use case, like form fields to update an item in a table or additional information about a program. Task dialogs have a close button in the header to allow users to dismiss the dialog at any time without a decision.
Small screen native
Native applications use the bottom sheet for dialogs.

iOS form sheet

Android full screen overlay
Small screen web
Dialogs on web are inset and bottom-aligned.

Web bottom inset sheet

Web full screen overlay
Large screen
Dialogs are centered on larger screens across platforms. Dialogs can be offset to the left or right on large-format foldable devices.

Centered sheet dialog

Offset sheet dialog on foldable device

Task dialog

Confirm dialog
















