Clip Content

Share this post

A taxonomy for alerts and notifications

clipcontent.substack.com

A taxonomy for alerts and notifications

Issue 15: Is it an Alert, Toast, Callout, Popup, Snackbar, or Notification?

Steve Dennis
Mar 5
6
3
Share this post

A taxonomy for alerts and notifications

clipcontent.substack.com
Three callouts, one blue information one saying "Heads up", an orange warning saying "You sure?" and a red error saying "Sorry."

A while back, in the early days of our design system, we had a ticket for a component sitting in our backlog, with the title “Alert.” My initial reaction was “Oh yeah, a colored box with a little icon to the left of it and some text, easy.” Oh dear reader, how naive I was…

We started as we always do, with a component audit, which immediately revealed a bunch of complexity and conflicting needs and requirements. We started discussing which features our Alert component should support, and it very quickly became a bloated mess of properties and configurations. We realised we needed to take a step back, and split this component into multiple components with slightly different needs.

Should it be pop up from the corner of the screen? Can you dismiss it? Should it have a title? A description? An action? Multiple actions? Can the description contain links? Does clicking on the whole alert box perform an action?

We eventually landed on three core patterns: Toast, Callout, and Notification. We reserved “Alert” for the group name for these types of components instead.

These shouldn’t be considered canonical, your naming or grouping may differ slightly, and that’s fine, as long as you’re having that conversation with your team. I found the exercise of trying to define the capabilities and differences between these use cases useful enough, and have referred other designers to it enough that I thought it worth sharing more widely as a point of reference.

Note: this isn’t technically part of my Design System Breakdown series as we have yet to build final versions of these. 😬

Toast

"Change saved" with an undo button.  Appearing center bottom of a window, in a contrasting color to draw attention.

Some people like to call these “Snackbars” (Material design), but we preferred Toast as it seemed more ubiquitous and was shorter to say and write. It can also pop up from the bottom of the screen like toast does from a toaster! Delightful!

  • Short and sweet. Once sentence or a few words.

  • Appears on screen to indicate the status of an action that's just been taken (saved, changed, added, deleted), or a temporary system status (lost internet connection).

  • Often used to confirm actions from UI that's no longer visible (Clicking save in a modal window, which saves and dismisses the modal)

  • Floats over the UI but shouldn’t obscure main actions

  • Can be dismissed (optional)

  • Action can be undone (optional)

  • Can be color-coded for semantic states (success, error, warning)

  • Examples:

    • Your change has been saved.

    • Email sent [Undo]

    • There was a problem connecting to the server.

Callout

A callout sitting in between paragraphs of text. It reads: "Note: You can bring more attention to specific pieces of content with a callout.  The should be used sparingly, or people will start to ignore them."

Notion users will be familiar with Callouts. These are often visually similar to toasts, but sit within the page’s content, and are designed to highlight a particularly important piece of information. These can be all kinds of sizes/lengths and have plenty of variations.

  • Should be already shown when the page or UI is loaded.

  • Is part of the page flow. Doesn't overlap other elements.

  • Optional variations with more or less visual weight (some might be a box, a box with a solid fill, or just a colored icon)

  • Optional heading

  • Optional description

  • Optional link/action

  • Optional dismiss

Notification

A white popup with an email icon and dismiss cross pops up from the bottom right of the screen. It reads: "New message from Diya. Hi, I'd like to add you to my professional network"

Notifications usually have more detail than a toast, though share other similar features like floating over the UI. They are less temporary than toasts, and can usually be dismissed and viewed later in their own notifications menu or area of the UI somewhere.

  • Triggered by something external to the user. Either:

    • Another user has taken an action that you need to know about

    • Something automated/systemic has happened that you need to be aware of

  • Has an action to be taken, often viewing more detail

  • History of past notifications available elsewhere in the application

  • Can often be “read” or “archived” individually or in bulk

  • Generally not urgent, does not disrupt current task

  • Optional 1 or 2 lines of additional context detail (text excerpt, sender info, file name)

  • Examples:

    • Message received [Read]

    • An item has been shared with you [View item]

    • New feature available [Read more]

A note on Accessibility

Toasts and popup notifications are incredibly easy to get wrong from an accessibility standpoint. While this isn’t the focus of this article, if you are implementing pieces of UI that pop up for a set period and then disappear automatically, you need to be thinking about how to make people using assistive tech aware of these without interrupting current tasks, as well as the fact that people have different abilities to perceive changes happening outside their focus, and different reading speeds.

I recommend reading

Sheri Byrne-Haber
’s Designing Toast Messages for Accessibility article as a starting point.


Thanks for reading Clip Content! Why not share this post, or buy me a coffee. Thanks!


Elsewhere

Henry Daggett published a great article on what it takes to be working on one design systems for a long time, and ultimately having yourself and the systems both survive long term.

A new site for finding Design Systems jobs has been launched recently by Masato, who believes Design Systems hiring is fundamentally broken, and he aims to fix that. Check out designsystem.careers

Someone, somewhere is build to build an entire “UX/UI” talk around this tweet.

Twitter avatar for @joncstone
Jon Stone @joncstone
A funny tale of desire lines on this estate in Southwark: People used to cut across the grass here, and a mud track appeared - so they put in a gravel path. But people don’t seem to like walking on the gravel and a second desire line dirt path has appeared alongside it
Image
Image
12:08 PM ∙ Feb 18, 2023
1,451Likes108Retweets
3
Share this post

A taxonomy for alerts and notifications

clipcontent.substack.com
Previous
Next
3 Comments
Bogdan Stefanovic
Writes Bogste’s Substack
Mar 12Liked by Steve Dennis

I was experiencing the same issue on the project I am working on. It seems like a pretty straightforward thing, but it's the opposite. Your article came at the right moment to clarify some issues 😄

Expand full comment
Reply
1 reply by Steve Dennis
author
Steve Dennis
Mar 6Author

Some great discussion in this Twitter thread about the merits (or lack of) of Toasts as a solution for anything. Craig Abbott hits the nail on the head with: "A Toast is a notification that nobody sees." Deploy with caution, or not at all!

https://twitter.com/abbott567/status/1632645770359758848

Expand full comment
Reply
1 more comment…
TopNewCommunity

No posts

Ready for more?

© 2023 Steve Dennis
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing