Components/Message Toast

fd-message-toast · 1 example from SAP's documentation · Back to the gallery

About

The message toast is a small, non-disruptive popup for success messages that disappears automatically after a few seconds. When message toast is displayed, it is always centered horizontally at the bottom of the screen and fades in and out automatically. Note: The timing and duration of the message toast is defined by the application, the standard value being 3000 ms. The duration can be above 3000 ms, but it's not recommended to be less than that value.

**Use message toast if:** - To display a short success message. - To avoid interrupting the user while they are performing an action. - To confirm a successful action. **Do not use the message toast if:** - You want to display an error or warning message. - You want to interrupt users while they are performing an action. - You want to make sure that users read the message before they leave the page. **Use message toast if:** - To display a short success message. - To avoid interrupting the user while they are performing an action. - To confirm a successful action. - You want to display an error or warning message. - You want to interrupt users while they are performing an action. - You want to make sure that users read the message before they leave the page.

Default

The default message toast displays a simple popup with non-interactive text. The text wraps once it reaches the max-width of 15rem.