Darren Xu Blog

Toasts


I have been working on a design system and a general consensus has been established that toasts are bad UX and should be avoided. In this document I am going to talk about some potential alternatives and when, if ever, they could be used.

What is a toast

A toast in UI is a small, temporary notification that pops up on the screen to provide brief system feedback.

The key characteristics of toasts:

Why are they used everywhere

Mobile developers wanted a way to provide notifications to the user. They invented something to pop up from the bottom of the screen. Then there was a trend to align components for desktop and mobile applications, and thus toasts were suddenly available on ultra-wide monitors.

I personally think people love using toasts as it is a lazy solution for when an application needs to notify a user.

What is the problem

These are the patterns toasts have that cause accessibility issues:

Alternatives

There is no catch all replacement, but heavily context dependent.

Provide feedback near the trigger

Provide feedback next to the triggering element as users focus is already there. This is especially important for users who use screen magnification.

Make the component dismissible

The notification should stay around until users take another action and users can dismiss it themselves.

So, when is it ok to use?

I would see toasts accepting in the following situations: