Blog

What is a toast message? Toast vs. snackbar vs. banner

Kyle SeylerKyle SeylerOctober 08, 2025
Toast messages, their use cases, and examples header

What is a toast message?

A toast message is a brief, auto-dismissing notification that appears inside an app to give the user immediate feedback, then disappears on its own after a few seconds without requiring any interaction. Named after the way it "pops up" like a slice of toast, it's one of the most common in-app messaging patterns across mobile apps, web platforms, and SaaS products.

Toasts are built for confirmation, not conversation. They reassure users that an action worked ("Settings saved"), surface a non-critical update, or nudge a next step, all without breaking focus or blocking the screen. Because they're passive and short-lived, they're the wrong choice for anything urgent, anything the user must act on, or anything they may need to reference later.

Courier's Toasts SDK renders toasts from the same feed as its in-app notification center, so you get both from one integration instead of maintaining that infrastructure yourself.

Toast vs. snackbar vs. banner vs. push: key differences

These terms get used interchangeably, but they aren't the same thing:

  • Toast messages are short, passive notifications that appear briefly and disappear automatically. They require no user action and are common in Android apps, web apps, and SaaS platforms.
  • Snackbars are a Material Design pattern. They look like toasts but can carry a single action, such as "Undo" or "Retry." A snackbar without an action auto-dismisses; one with an action stays on screen until the user acts on it or dismisses it.
  • Banners are more prominent messages that persist until the user dismisses or acts on them. They suit important but non-blocking information like account or verification issues.
  • Push notifications are delivered by the operating system and appear outside your app. Their job is re-engagement, not in-session feedback.
FeatureToast MessagesSnackbarsBannersPush Notifications
Primary purposePassive, quick feedbackFeedback with an optional actionImportant info, often needs actionRe-engage users outside the app
User interactionNoneOptional action (e.g., Undo)Optional or required actionMay open the app or deep link
PersistenceDisappears automaticallyDisappears automatically, unless it has an actionPersists until dismissed or acted onStays until dismissed or opened
ContextInside the appInside the appInside the appOutside the app (OS level)
Typical placementTop or bottom of screenBottom of screenTop or bottom of screenDevice notification tray
Best forConfirming minor actionsReversing quick actions, retriesWarnings and status that need attentionBringing users back to the app
Risk if misusedMissed important feedbackAccidental actionAnnoyance if overusedNotification fatigue
Common example"Settings saved""Message deleted [Undo]""Account needs verification""You have a new message"

The short version: use a toast for passive confirmation, a snackbar when the user might want to undo, a banner when the message needs to stick around, and push when you need to reach someone who has left the app.

How toast messages work

Example of a toast message confirming an action inside an app

A toast appears on screen, delivers a short message, and fades away after a few seconds. It sits out of the way of the main content and doesn't steal focus, which is what makes it feel lightweight rather than disruptive. A modal is the opposite: it deliberately blocks the screen until the user responds.

The pattern first gained popularity on Android, where the Toast class gave apps a standard way to show brief feedback. It spread to iOS libraries, web applications, and desktop software, and today it's a convention users recognize instantly. You may see the same pattern under other names: a flash message in server-rendered frameworks, or historically a Growl-style notification on desktop. On the web it's commonly built with libraries like react-toastify.

Whatever the platform, an effective toast follows three core principles:

  • Unobtrusive: small, subtle, and positioned away from critical content
  • Non-interactive: the user typically can't act on it beyond letting it expire or dismissing it
  • Short-lived: it disappears automatically, keeping the interface clean

There's no single standard for how long a toast stays up. Material Design 3 auto-dismisses snackbars without actions after 4 to 10 seconds, depending on platform, and that range works for toasts too: long enough to read, short enough to stay out of the way. Lean toward the long end for longer copy.

Toast message examples and common use cases

Toasts work best for outcomes the user already expects and doesn't need to act on. Typical examples include:

  • Action confirmations: "Settings saved," "Message sent," "Copied to clipboard"
  • Background process updates: "Upload complete," "Export ready," "Sync finished"
  • Lightweight guidance: a one-line onboarding tip or a "New feature available" nudge
  • Non-critical status: "Reconnected," "Draft autosaved"

The common thread is that each message is helpful but optional. If a user misses it, nothing breaks. The moment a message becomes something a user must see, act on, or keep, a toast is the wrong tool, and one of the alternatives below fits better.

When to use a toast message (and when not to)

Not every event deserves a toast.

Use a toast message when you need to:

  • Confirm a successful user action (for example, "Settings saved")
  • Signal that a background process has started or completed
  • Highlight a lightweight, non-critical update without disrupting the user's flow

Avoid a toast when:

  • The user must act on something urgent (use a modal or banner; a snackbar only fits low-stakes, reversible actions like "Undo")
  • The event is critical and must be acknowledged (use a modal or an alert)
  • The message needs to persist (use an in-app inbox, push, or email)

Toast message design best practices

A few rules keep toasts helpful instead of annoying:

  • Keep the copy to one line. State the outcome ("Settings saved"), not a paragraph. On Android 12 and later, a system toast is capped at two lines anyway.
  • Show one toast at a time. When several events fire at once, queue them or collapse related updates into a single toast so they don't stack into a wall of messages.
  • Position them consistently. Pick one spot, usually top-right on web and bottom on mobile, and stay there.
  • Never hide critical information in a toast. Anything a user must see or act on belongs on a persistent surface.

Toast alternatives: inbox, snackbars, push, and email

Toasts work well for fast, non-disruptive feedback, but they vanish. When a message needs an action, a longer life, or a permanent record, reach for one of these formats instead.

In-app notification centers

An in-app notification center is a centralized place, usually opened from a bell icon, where users can review everything your product has told them: confirmations, alerts, and system updates. Unlike a toast, these messages persist, so users can catch up on anything they missed or dismissed. Designing one people actually open (the row hierarchy, the unread signal, the empty and error states) is its own craft, covered in our guide to designing an in-app notification center.

Courier's in-app inbox syncs state across channels. When a template sends to both email and the inbox, opening the email marks the inbox message as read (this uses the email's tracking pixel, so open tracking needs to be on). To set up the inbox in a React app, see Add an inbox to React.

Snackbars: interactive, temporary feedback

Snackbars show brief feedback near the bottom of the screen, with room for a single action.

Example of a snackbar with an inline action button

Like toasts, they're lightweight, but they give the user a chance to respond. Common examples include:

  • "Item deleted. [Undo]"
  • "Payment failed. [Retry]"
  • "File uploaded. [View]"

Material Design 3 keeps a snackbar with an action on screen until the user acts on it or dismisses it, and lets one without an action time out. Use a snackbar when you want to acknowledge an event and offer a quick way to reverse or continue it. Keep the action simple, safe, and reversible, and never use one for a critical or irreversible decision.

Push notifications: re-engage users outside the app

Push notifications reach users even when they're not in your app. They're effective for:

  • Alerting users to important updates
  • Reminding them to return to the app
  • Notifying them of time-sensitive events

Push shares the brevity of a toast, but its purpose is re-engagement. Because it appears outside the app, it depends on an OS-level permission the user can deny, on iOS and, since Android 13, on Android too. Toasts and in-app inboxes render inside your app and never need that permission. That makes push the right tool for pulling users back after an event, promotion, or system update, and toasts the right tool for feedback while the user is already there.

Persistent messages: email and SMS

Persistent messages like email and SMS are built to last. They stay accessible until the user deletes or archives them, which makes them the right choice for anything that needs to be saved or referenced later, such as:

  • Appointment confirmations
  • Discount offers and promo codes
  • Password resets and account recovery
  • Legal notices and receipts

Where a toast disappears in seconds, a persistent message gives the user a record to return to.

Toast notification accessibility

Because toasts appear without focus and vanish quickly, they're easy to miss for anyone using a screen reader, and easy to get wrong. Three things make a toast accessible.

Announce it with an ARIA live region. A visible toast is silent to assistive technology unless it lives in a live region. Use role="status" (an implicit aria-live="polite") for success and confirmation messages so they're announced without interrupting the user, and reserve role="alert" (aria-live="assertive") for time-sensitive errors, per the W3C technique for role=alert. Put an empty role="status" container in your initial markup and write each toast's text into it: screen readers generally announce only changes to a live region that already exists, so a region inserted together with its text often isn't read.

Give users enough time. WCAG success criterion 2.2.1 Timing Adjustable asks that users can turn off, adjust, or extend time limits. For a toast, that means keeping non-trivial messages on screen long enough to read, pausing auto-dismiss on hover or focus, and never putting an action a user must take inside a message that times out. Material Design 3 goes further for the web and advises against auto-dismissing snackbars unless the same information also appears inline, for example a "Save" button whose label changes to "Saved." If information matters, back the toast with a persistent surface like an in-app inbox.

Respect motion preferences. Honor the prefers-reduced-motion setting by reducing or removing slide and fade animations for users who ask for it.

Adding toast messages to a multi-channel stack with Courier

A toast confirms an action and then disappears, so treat it as one layer of your notifications. In Courier, a toast is a popup for a new inbox message: one send to the inbox channel shows the toast while the app is open and leaves an inbox entry the user can review later. Add push for mobile users, and email for anything that needs a permanent record, such as billing events, account changes, or compliance notices.

For example, when a background export finishes, one API call can show the toast in the app and send an email with the download link the user can come back to:

JavaScript
import Courier from "@trycourier/courier";

const courier = new Courier({ apiKey: process.env.COURIER_API_KEY });

await courier.send.message({
  message: {
    to: { user_id: "user-123" },
    template: "export-ready",
    data: {
      file_name: "q3-report.csv",
      download_url: "https://app.example.com/exports/q3-report.csv"
    },
    routing: {
      method: "all",
      channels: ["inbox", "email"]
    }
  }
});

method: "all" sends on every channel in the list. Use method: "single" instead if you want failover: Courier tries the channels in order and stops at the first one that delivers.

Courier's in-app notification channel has inbox SDKs for React, Vue, Angular, Web Components, iOS, Android, Flutter, and React Native, and read state syncs across every device where the user is signed in. The built-in toast component is web-only: it ships for React, Vue, Angular, and Web Components. On iOS, Android, Flutter, and React Native, you listen for new inbox messages and render your own toast. The add toasts guide walks through both setups.

Request a demo, read the docs, or start free with 10,000 sends a month.

Frequently asked questions

Can a toast notification be made permanent so it does not auto-dismiss?

Yes, though it stops behaving like a typical toast. Most toast libraries let you turn auto-dismiss off, and Courier's toast stays on screen until the user closes it unless you turn auto-dismiss on. If a message has to stay until the user acts on it, a banner or an in-app inbox is usually the better fit, so the information isn't lost once the toast closes.