Stay organized with collections
Save and categorize content based on your preferences.
A dialog is a modal window that appears in front of an app to display task information that requires an immediate user response.
A dialog can be an alert, which requires user interaction. It can also be a selection or confirmation dialog, which requires a user to make or confirm a choice. The dialog retains focus until it’s dismissed or the required action is taken. Because dialogs are interruptive, they should be used sparingly.
Dialogs are related to toasts (both are members of the Dialog family of components), but they differ in purpose and priority, as shown below.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-23 UTC."],[[["Dialogs are modal windows that require immediate user interaction and retain focus until dismissed or action is taken."],["Unlike Toasts, which display transient informative messages, Dialogs demand user responses and have higher priority."],["They consist of a background, header (optional), content area, and an action area with controls like buttons or list items."],["OEMs can customize dialog appearance using runtime overlays, adjusting fonts, button styles, dimensions, and placement according to brand guidelines."],["Dialogs should be used sparingly due to their interruptive nature, reserving them for crucial tasks and decisions."]]],[]]