
SnackBar shows transient overlay feedback after an action or background result. Use it for short non-blocking messages such as “Saved”, “Copied”, “Invite sent”, “Refresh complete”, “Export started”, or “Deleted” with an optional quick action such as “Undo” or “View”.
Open snack bars through the SnackBar service with open(message, action?, config?), openFromComponent, or openFromTemplate. Configure duration, top or bottom placement, horizontal position, custom data, and custom component or template content when needed.
Do not use SnackBar for field validation errors, persistent inline messages, global important header messages, critical required actions, confirmations before destructive actions, modal workflows, long-lived notification inboxes, incident banners, or loading and progress states. Use FormField errors, Alert, Announcement, ActionRequired, Confirm, Dialog, Notifications, Incidents, ProgressBar, or loaders when those match the job better.