Skip to main content

Toast Notification

UI Design

What is a Toast Notification

A toast notification is a small, temporary message that pops up to confirm an action or show status, such as "Message sent". It does not block the screen and disappears on its own after a few seconds.

How a Toast Notification works

  • Small popup: Takes only the space the message needs
  • Non-modal: Users can keep working
  • Auto-dismiss: Disappears after a timeout
  • Low priority: Used for information users can safely miss

When to use a Toast Notification

Use toasts for passive, low-risk feedback: saved, sent, copied, updated. Do not use them for errors or anything users must act on, because the message disappears and can be missed. Show errors next to the problem instead.

Toast vs. Snackbar

The terms overlap. In Material Design, a snackbar sits at the bottom of the screen and can include one action, such as Undo. A classic Android toast is a simpler text popup. Either way, make the message readable long enough and announce it to screen readers.

Frequently asked questions

What is the difference between a toast and a snackbar?

Both are brief messages that disappear on their own. In Material Design, a snackbar appears at the bottom and can include one action, such as Undo. An Android toast is a simpler popup with just a message. On the web, the two names are often used for the same thing.

Should you show errors in a toast?

Usually not. Toasts disappear after a few seconds, so users can miss them. NN/g calls a toast a bad way to show an error; show errors next to the problem and keep them visible until fixed.

Are toast notifications accessible?

They need care. WCAG 4.1.3 requires status messages to be announced to screen readers without moving focus, and the message must stay long enough for everyone to read it.