Components · Dialog
Dialog
Modal surface with backdrop, title, description, and actions.
Anatomy
- 1
.dialog-backdropScrim behind modal content. - 2
.dialog-positionerViewport-level content positioning layer. - 3
.dialog-contentModal content surface. - 4
.dialog-titleDialog headline. - 5
.dialog-descriptionSupporting dialog copy. - 6
.dialog-actionsPrimary and secondary action layout. - 7
.dialog-close-triggerDismisses the dialog.
Publish theme?
Create a version your team can install.
Compositions
The component in context, beside others. Open the code to see the file verbatim.
Theme “Ocean blue”
Delete theme?
This cannot be undone.
When to use
Use a dialog for a focused decision that must be resolved before the person returns to the underlying task.
Interaction states →