Intro
Toast triggered by clicking a button
When to Use
Do
Use the toast:
- If you want to display a short, non-semantic success message to confirm that an action was performed.
- If you don’t want to interrupt users.
- If you want to confirm a successful action.
Don't
Don’t use the toast:
- To display an error or warning message.
- If you need to interrupt the user (for example, to prompt a user action or confirmation).
- If you want to make sure that users read the message before they leave the page.
- If you want users to be able to copy the message content to the clipboard (such as a product or transaction number). In this case, use a success message dialog or dialog instead.
- If you need positive semantic styling for a success statement. In this case, use the message strip or message dialog instead.
Anatomy
- Text
- Container
Toast anatomy
Behavior and Interaction
Placement
Placement of a toast
Triggering a Toast
Toast with different durations
Message Text
To make the toast message easy to scan, keep the text as short as possible. Remember that the user will not have time to take in very much detail.
Don’t use the word “successfully” in the message text. This is implicit in a success message.
Do
Toast without ID
Don't
Don't use "successfully"
Patterns
For standard actions (such as create, save, delete, or send), we recommend using the following patterns, depending on your use case.
Notes:
- The exact phrasing will depend on your target audience and the conventions in your app family. If an action is repeated regularly by a heavy users, be as brief as possible (for example, Order deleted). If your app is typically for occasional users, a full sentence might be more appropriate (for example, Your request has been sent to the support team.).
- Bear in mind that long object names can increase the length of the message toast. Remember to allow for this when defining the toast duration. If long or multiple object names make the toast too cumbersome to read, leave them out. If you really need to list them in a success message, use the success message box instead.
- Use periods only for complete sentences. See UI Text Guidelines for SAP Fiori – Punctuation – Period.
Do
Toast with item count
Don't
Do not list names of multiple items