Modals are a type of window that appears in front of a page’s content to provide information or ask for a decision. Modals require immediate attention and disable all functionality until the user decides to confirm, dismiss or take appropriate action.
When to use
When to avoid
Specifications
Sample
Anatomy
1
Title
Should provide a clear and concise summary of the modal's purpose or the key question being asked.
2
Slot
Allows designers to swap in customizable content. Can be plain text, a form, and / or images. Keep content in modals brief to help the user understand information or to quickly complete a task.
3
Divider
Only appears on scroll in modals with longer content.
4
Footer
Fixed to provide a persistent location for primary and secondary action buttons related to the modal's content. Almost always, the primary action should allow the user to complete and close the modal.