Nouveau Design UI/UX

Bandeau d’information

Accordions are vertically stacked interactive containers used to show and hide sections of content.

Anatomy

  1. Container
  2. Supporting text
  3. Action button (optional)
  4. Close button (optional)

Note : For an easy web accessibility it is better to avoid adding actions and closing buttons to your snackbar.

Best practices for Snackbar

Container

Snackbars are presented in rectangular containers with a solid grey background for legibility.

  • Use a solid background with shadow to distinguish the snackbar from content.
  • Slight transparency is acceptable, but text must remain legible.
  • Do not: significantly alter the container shape or remove elevation.

Don't

Caution

Do

Text Label

Snackbars include a text label that clearly communicates the action or process being performed.

  • Keep labels short, clear, and informative.
  • Do not include icons in snackbars; if an icon is needed, consider another component.

Don't

Do

Action

Snackbars can include a single text button for user actions related to the process.

  • Action buttons should use colored text to stand out from the label.
  • Do not: use the same color for label and action, or use filled/elevated buttons.
  • Caution: A “Dismiss” button is usually unnecessary since snackbars disappear automatically.
  • Do: allow longer actions on a third line if needed, and include actions like “Undo” to let users amend choices.

Don't

Caution

Do

Frequency

Only one snackbar must be displayed at a time.

When to use Snackbar ?

Use a snackbar for short, non-critical feedback after a user action.

Good use cases:

  • Confirming an action
  • Showing a quick status update
  • Providing a simple optional action

Key idea: Snackbars are for feedback, not for decisions.

When NOT to use a snackbar ?

Avoid using a snackbar when the message is important or requires attention.

Don’t use it for:

  • Errors that block the user
  • Important warnings
  • Long or complex messages
  • Actions that require a decision

Use modals, alerts, or inline messages instead.

Why use a snackbar ?

  • Keeps the experience smooth and non-disruptive
  • Gives users instant feedback
  • Does not interrupt the user flow

New Design UI/UX

Snackbar

Snackbars provide brief messages about the processes at the bottom of the screen.