Snackbar
A Snackbar is a lightweight UI component that provides brief, non-intrusive feedback messages to users, typically appearing at the bottom of the screen and disappearing automatically after a short duration. It is commonly used in mobile and web applications to confirm actions, display notifications, or alert users to events without interrupting their workflow. Snackbars often include optional action buttons for users to respond to the message.
Developers should use Snackbars when they need to deliver simple, temporary feedback that doesn't require immediate user attention, such as confirming a successful save, notifying of network connectivity changes, or prompting for undo actions. They are ideal for mobile-first designs and progressive web apps where screen space is limited, as they avoid modal dialogs that block interaction. Snackbars enhance user experience by providing contextual information without disrupting the user's current task.