Snackbar
Also known as: Toast, Banner
Resources
Properties
Property | Values | Default |
---|---|---|
Has start icon Boolean | true | false | true |
Start icon InstanceSwap | Any icon | alert-02-filled |
Label Text | string | Label |
Has action Boolean | true | false | true |
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.