Snackbar

Also known as: Toast, Banner

Resources

Properties

PropertyValuesDefault
Has start icon Booleantrue | falsetrue
Start icon InstanceSwapAny iconalert-02-filled
Label TextstringLabel
Has action Booleantrue | falsetrue

When to use

When providing brief, non-intrusive feedback about an action, such as confirming a saved change or a sent message.
When the message is temporary and does not require user intervention to dismiss.

If the message is critical and requires immediate attention, use an alert or dialog instead.
If the user needs to take an action that isn’t time-sensitive.