Getting started
Components
Dialog is a floating surface used to display transient content such as confirmation actions, selection options, and more.
Dialogs can streamline the interface by allowing extra content to be disclosed as needed. Dialogs create a new modality to the user, and can expedite the completion of individual tasks.
Anatomy of a Dialog.
The header region provides context for the Dialog. By default, the region supports a title, description, and a close button. Titles and descriptions may wrap to multiple lines if necessary.
Header with the default title variant.
Header with large title variant.
The body region is the main content of the dialog. It can contain any content that is relevant to the task at hand. The body region is scrollable if the content exceeds the height of the dialog.
The footer region may be used to show confirmation actions, navigation links, or specialized actions. Primary actions should be aligned to the right of the footer, and grouped by additional related actions.
Dialogs are meant to be interacted with in a single context. Avoid creating a whole page inside a dialog. Prefer single-column layouts that convey a clear goal from the moment the dialog is opened.
Prefer a single column layout.
Avoid side navigation within a Dialog.
Dialog description goes here.
This is the dialog body content. It can contain any HTML content and will scroll if it exceeds the dialog height.
This is a side sheet example.
Side sheet content goes here. This can be used for navigation, quick actions, or previews.