Notifications are essential in digital products to alert, warn, or give positive feedback. They give awareness and confidence to the user as they interact throughout the product.
When deciding what to use for a notification, you have to understand how important the message is to the user and/or the system.
Announcement component can be used for high priority notification that is persistent across the entire application. Primary use cases are to notify things such as New Feature or System-Wide status such as "Server is down" or "Unable to connect to the Internet." Announcements should not stack and only appear one at a time.
Dialog is a component that can be used for notification. It can be used for high priority notification that interrupts user until an action is taken. A primary use case is Confirmation of Deletion on critical information.
Toast component can be used as high to medium priority notifications. The notification is not bound to the current page content, and it can notify users about another part of the app. By default, it can stack up to 5 and also queues after 5 showing visually. A primary use case is a notification to show the progress bar.
Banner component is used for contextual notification for items such as a page or a section on a page. It can be used for medium to low priority notification and ideally placed above the related content. A primary use case is to show error messages for a form group.
For the same section with the same statuses, combine them into one Banner.
For the same section with different statuses, create a Banner for each with higher priority on top (max 2).