The modal is a container generally displayed in response to an action.
It is used for short forms, confirmation messages or to display contextual information that does not require a page. The modal should always be used in conjunction with the Application Layout Containers. See an example App layout page with Modal
Although the following examples use the <h3> tag for the title element, the styling provided by SAP Fundamentals will remain consistent for any heading level used. <h1> should be reserved for the page title.
Informational Modal
This is used to present information to the user but the Alert Component doesn’t fit all the information.
Product Added
Thew new product have been added to your catalog.
Automatic Product ID: PD-3465334
Expiration date: 13/03/2018
Confirmation Modal
This is used to confirm with the user before continuing with a destructive or complex action. In this case, the modal has action buttons at the bottom.
Delete
Do you want to delete item X?
Form Modal
This is used for short forms in order to collect information from the user.