The Snackbar: Delivering Concise Feedback and Status Updates

The Snackbar component presents brief messages at the bottom of the screen, informing users about actions, system events, or errors that require their attention.

Features

Discover the key features of the Snackbar component.
Instant Notifications
Snackbar delivers instant notifications, ensuring timely user awareness about important events, updates, or actions. With its quick display, users receive immediate feedback, enhancing their overall experience and productivity.
Temporary Display
Appears briefly at the bottom of the screen, minimizing disruption to the user's workflow. The temporary nature of the snackbar ensures that it does not linger on the screen for too long, allowing users to continue their tasks without interruption while still receiving relevant information.
Customizable Design
Tailor snackbar styles to match interface seamlessly, allowing you to customize its appearance, animation, and behavior to align with your brand's visual identity and user experience guidelines. By maintaining consistency in design, you can ensure that the snackbar complements the overall look and feel of your application while effectively conveying important messages to users.

Anatomy

Message
The main text content of the snackbar, conveying the message or information to the user.
Action Button
In the action snackbar variant, an optional action button allows users to take immediate action in response to the message.
Close Button
A close button may be included to allow users to dismiss the snackbar manually, especially if it is non-dismissible by default.
Background
The background color of the snackbar indicates its severity or type, such as success, warning, error, or informational.

Example Use Cases

Feedback and Confirmation
Providing feedback to users after they perform an action, such as saving changes, deleting an item, or submitting a form.
Error Handling
Alerting users to errors or issues that occur during their interaction with the application, such as failed validation or network problems.
System Updates
Notifying users about system updates, new features, or changes to the application that may affect their experience.
Cookie Notifications
Informing users about the use of cookies or tracking technologies on the website and obtaining their consent.

Guidelines for Usage

When incorporating the Snackbar component into the design of an interface, consider the following guidelines:

Concise and Informative Messages: Keep Snackbar messages brief and to the point, providing only essential information to users without overwhelming them with unnecessary details.

Visibility and Duration: Ensure that the Snackbar is prominently displayed at the bottom of the screen and remains visible for an appropriate duration before automatically dismissing. Consider allowing users to dismiss the Snackbar manually if needed.

Clear Actions: If the Snackbar includes actionable options, such as undoing an action or navigating to a specific location, ensure that the actions are clearly presented and easily accessible to users.

Consistent Styling: Maintain consistency in the design and styling of Snackbars across different parts of the interface, including typography, colors, icons, and animations, to provide a cohesive user experience.

Accessibility Considerations: Ensure that Snackbars are accessible to users with disabilities by providing keyboard navigation support, screen reader compatibility, and sufficient color contrast for readability.

Variants

Icon
This variant includes an icon to provide visual context or indication of the message type.
Action
This variant includes an action button that allows users to take immediate action in response to the message.
product_snackbar_01

Best Practices vs. Common Pitfalls

Do:
  • Use the Snackbar component to provide timely feedback to users about their actions or system events, enhancing their overall user experience.

  • Keep the message concise and clear to ensure that users can quickly understand the purpose of the snackbar.

  • Provide appropriate actions or next steps in the action snackbar variant to enable users to respond to the message effectively.

Don't:
  • Overuse the Snackbar component, as it may become intrusive and distract users from their primary tasks.

  • Display critical or essential information exclusively in the snackbar, as it may not always be noticed by users, especially if they are focused on other parts of the interface.

  • Make the snackbar too large or visually distracting, as it should complement the user interface without dominating it.

Feedback and support

Encountered an issue or have a question about the design system? Your feedback is invaluable to us. Don't hesitate to contact us. Feel free to offer suggestions or improvements; it's all part of our commitment to continuous feedback and support.