Skip to main content

Anatomy

The Toast consists of four primary elements that work together to create temporary alerts that appear as a direct result of a user action.
Toast
anatomy
  1. Title
  2. Body content
  3. Actions
  4. Close button

Options

The Toast supports the following configurations to accommodate various notification scenarios.

Status

Toast status
examples
TypeDescription
InformationalNon-essential information as the result of a user action.
SuccessConfirmation that a task was successfully completed.
WarningInformation to warn users of a potential issue as the result of an action. Often paired with an action to help users recover.
Critical/ErrorUsed to communicate an error or other failure. Often paired with an action to help users recover.

Content Area

Toast content area
examples
At minimum, a Toast consists of a title. Toasts also support body content, including a body message, actions, or progress bar.

Usage Guidelines

Use the Toast when the user does not need to be interrupted and is being informed of an event with the option to take action.

When to Use

Toast notifications are used when:
  • The user does not need to be interrupted.
  • The user is being informed of an event, with the option to take action.
  • The results of an action are delayed.
  • The notification could appear anywhere in the application.
See the notification pattern for additional guidance.

Status Variations

Informational
Communicates operational information to the user. These are commonly used to denote the start of an operation, and usually includes follow-up notifications.
Toast Status Info
Example
Success
Communicates the success of an operation, e.g., user preferences were updated. Avoid including the term “successfully” in success Toasts as it duplicates information.
Toast Status Success
Example
Critical/Error
Critical Toasts are used when an operation was unable to be performed or has failed. Page-specific and form errors should utilize the Alert notification. When applicable, users should be able to take action on an operation.
Toast Status Error
Example
Warning
Warnings are distinct from errors and represent issues that do not need an immediate resolution, but still need to be addressed. Unintended consequences in an operation and fallback choices are common examples. In general, users should be able to take action on a warning.
Toast Status Warning
Example

Alternatives

Toast vs Alert

Alerts are used to communicate information about either part of a page or a whole page. Alerts can be used to summarize information, such as a summary of errors. Toasts are brief pieces of information and usually appear as the result of user action.

Toast vs Announcement

Announcements are used to convey app-wide messages, such as a new release being available, application maintenance, or sandbox information. Toasts are short pieces of information usually prompted by user action.

Behavior

The Toast responds to timing requirements and positioning constraints while maintaining consistent notification appearance.

How to Use

Positioning

Toasts are positioned in the top-right of the screen on top of application UI. Toasts do not cover any part of the global navigation.

Timing

By default, Toasts are persistent until dismissed by a user. An optional timeout is available. The recommended duration is 8 seconds, but this can be customized. Toasts are always persistent in the following cases:
  • When there are any actions within the Toast.
  • When a Toast contains a Progress Bar.
  • When a Toast is in an error state.
Avoid adding a timeout when a Toast contains information that users may need to copy or remember.

Progress Bar

When the time to complete a task can be calculated, pair a Toast with a Progress Bar.

Content

Content within the Toast should be brief, scannable, and actionable.

Titles should be brief and scannable and as specific as possible.

Use sentence case. Don’t use periods and exclamation points, and avoid articles: a, an, the.

Write titles as verbs

Titles should have a clear verb + noun question or statement.
Toast "Do" example that has title that says "Unable to create geofence"
and body text that says "We weren't able to create the geofence. Please try
again."
Do
Toast "Don't" example that has a title that says "Request failed" and body
text that says "Something went wrong. Please try
again."
Don’t

Messages that can be communicated in a single header don’t require body text.

Body text should only provide information that is not included in the header. Do not repeat information that’s already in the header.
Toast "Do" example with only a title that says "Geofence created
successfully"
Do
Toast "Don't" example with a title that says "Geofence created
successfully" and body text that says "The geofence has been created
successfully"
Don’t

Make body content concise, informative, and actionable

Use imperative verbs when telling users what they need to know or do. Avoid permissive language like “you can”. Whenever possible, include an in-line action for a user to take so that they can readily address the issue explained in the message.
Toast "Do" example with title that says "Some drivers haven't been mapped"
and body text that says "All drivers must be mapped to a technician before
you can move to the next
step."
Do
Toast "Don't" example that has a title that says "Request failed" and body
text that says "Something went wrong. Please try creating
again."
Don’t

Buttons should be clear, predictable, and action-oriented

Users should be able to predict what will happen when they click a button. Lead with a strong verb that encourages action. Use a verb/noun pair on actions in most cases. Common actions like Save, Close, or Cancel do not require an accompanying noun.
Toast "Do" example that has title that says "Submission error" and body
text that says "An issue was encountered process the request. Please try
again or view the results for more details." and two buttons. The first
button says "Try Again" and the second button says "View
Results"
Do
Toast "Don't" example with a title that says "Submission error" with no
body text and two buttons. The first button says "Results" and the second
button says
"View"
Don’t
Last modified on January 23, 2026