Toast notification

Also called toast or snackbar

A brief message that slides into a corner of the screen to confirm an action, then disappears on its own after a few seconds.

What is Toast notification?

A toast pops up in a corner, often the bottom right, to say something happened: Changes saved, Invite sent, Link copied. It blocks nothing and closes by itself after about four to six seconds. When several arrive together they stack, and people can swipe one away or close it early.

Use toasts for quick confirmations and background events that need no reply, and add an Undo button after actions like deleting. Errors that stop someone from continuing belong next to the field or in an alert banner, and questions that need an answer belong in a modal.

Give people time to read: pause the timer while the pointer is over the toast or it has keyboard focus, and give longer messages more time. Announce toasts to screen readers with a polite live region such as role="status", and show no more than about three at once.

Often confused with

Alert banner
An alert banner stays in place at the top of a page or section until the issue is resolved. A toast floats in a corner and leaves on its own.
All terms

Alert banner

A colored strip in the page that delivers an important message, such as info, success, warning, or error, and stays until it is resolved or dismissed.

Swipe to dismiss

A gesture where you drag an item sideways past a threshold to remove it, while a shorter swipe lets it spring back into place.

Undo

A way to reverse an action right after doing it, often a toast with an Undo button that appears after deleting or archiving something.

Optimistic UI

A pattern where the interface shows the result of an action right away, before the server confirms it, and rolls it back if the request fails.