A toast notification is a lightweight popup message that appears temporarily over the main interface to provide brief feedback, notifications, or error message to the user.
Icon: Used as a supporting element for the notification,
giving more context to the nature of the notification.
Title: Name of the toast letting users know what the toast is about.
Close icon: Used when you are not using time-based toasts.
This allows users to manually dismiss the toast
CTA: Used to allow users to carry out actions immediately upon completion of a task.
Spacing
Within the toast
Ensure that there is a min of 16px spacing within the toast notification and 32px spacing between content and CTA.
Usage guidelines
Toasts should be used:
When you want to present quick snippets of information to users.
Such as when users have submitted a form successfully or when a system error occurs.
Toasts should not be used:
When conveying important alerts. E.g., If your system is going down for maintenance.
Usability guidelines
Don’t stack the notifications
Avoid stacking multiple toasts together as this will cause confusion for users.
If stacking cannot be avoided, ensure that the toasts are of a similar nature. E.g., Error messaging.
Make sure they are small and unobtrusive
This is so that content is not blocked and is part of the users natural task flow
Make toasts as brief as possible
Toasts convey quick snippets of information and therefore should not contain more than 2–3 lines of text.
The content should make sense with as little words as possible.
E.g., Message sent vs Your message has been sent.