Skip to content
Components

ToastWarning: Lab

Give users short, non-disruptive feedback on the outcome of an action.

Use toasts for confirmations, simple updates, or low-priority alerts. For critical information or issues, use a more prominent and permanent component, such as a ModalCallout, or Banner.

29c53cae-7a66-8044-9f2d-ee3ff9b2c760.png

Toasts must include text that communicates a message. Keep the wording concise and ensure it clearly explains what has happened or is happening. Refer to our content standards for detailed writing guidelines.

29c53cae-7a66-8052-8a46-e2c64be24624.png

Use an info toast to inform users that a background process has started, especially if they need to wait before continuing. It’s also useful for neutral messages or cases that don’t fit other variants.

29c53cae-7a66-80ef-8166-ccf3a41b9c84.png

Use a positive toast to inform users about a successful action or the completion of a task. Keep it brief and celebratory, focusing on confirmation rather than extra detail.

29c53cae-7a66-8076-a481-caf1d7ec94b2.png

Use sparingly. Warning toasts should only be shown when an action succeeds but could cause problems later. If users can fix it immediately, offer a clear next step.

29d53cae-7a66-80db-9350-c428c23f15d0.png

Use an error toast to inform users that their action has failed. Provide a way to resolve the issue either in the underlying page content or in the Toast.

29d53cae-7a66-8054-bfc5-f6be907691b9.png

If the toast description is long or complex, include a title to help users quickly grasp the essence of a toast message. Don’t use the title to communicate the toast’s variant (e.g. “Error” or “Warning”)

29b53cae-7a66-804e-bf19-e303373434be.png

Include an action to help users immediately respond to the toast (e.g. “Retry” or “Add receipt”). If there’s no meaningful next step, don’t add an action just to fill space.

29b53cae-7a66-8009-89c8-eb16ac7a9c39.png

Include a link to help users to learn more about the message communicated in the toast. If the message is for basic confirmation (e.g. “Changes saved”), don’t add a link just to fill space.

29d53cae-7a66-80ba-9b45-f473c25f9626.png

Include both an action and a link if the user might want to take immediate action while also having the option to learn more or view additional details about the situation.

Toasts appear in the bottom-left corner of the screen, aligned with the main sidebar navigation. This minimises overlap with content avoids competing with the help (“?”) button in the bottom right corner. When no navigation is present, toasts are positioned at the screen’s far bottom-left.

29d53cae-7a66-8022-a873-e783f3975002.png

Toasts have a fixed width of 400px (100% on small screens). This width is not configurable, as we want to keep toasts appearance and placement consistent. This is particularly relevant when multiple toasts are stacked on top of each other.

29d53cae-7a66-80f7-a3b7-d34ae6f73baa.png

Toast duration is determined by variant and cannot be customized. The display time should balance noticeability—giving users enough time to read and understand—with non-intrusiveness, so toasts don't linger longer than necessary.

VariantDurationRationale
Info5 secondsInformational toasts communicate low-severity system updates (e.g., “Changes saved” or “Export started”). 5 seconds provides enough time to read and comprehend without interrupting the user’s flow.
Positive5 secondsSuccess toasts confirm completed actions (e.g., “Reimbursements enabled”). These are reassuring but require minimal user attention. A short, consistent 5-second display reinforces responsiveness while keeping the experience smooth.
Warning8 secondsWarning toasts indicate a potential issue or an action that may have consequences (e.g., “Card balance below limit”). They require slightly longer visibility to ensure users can read and decide whether to act, without feeling rushed.
Negative∞ (Persistent)Error toasts communicate problems that typically require user intervention. Automatically dismissing them risks the user missing critical information. Errors persist until explicitly dismissed, ensuring visibility and accountability.

Toasts animate in from the bottom with a slight bounce at the end—like a real toast popping out of a toaster. This movement draws attention naturally without being jarring, so users notice the feedback without losing focus.

Toasts are primarily for brief, transient feedback triggered by user actions. Use them when users should notice something, but don’t need to stop what they’re doing.

For trivial updates, skip the toast. For critical issues, use a more prominent and permanent component, such as a ModalCallout, or Banner.

29d53cae-7a66-80c5-9c88-e06c9bdb7aaa.png

If users can fix or undo something, give them a clear way to do it right from the toast. This could be a button (e.g. “Retry”, “Undo”) or a link to the relevant page (“View details”, “Add receipt”). Don’t just describe the problem—help users resolve it quickly.

29d53cae-7a66-8086-9388-f449bb3fab4f.png

Write toast messages in plain, user-friendly language. Don’t assume technical knowledge and describe issues in terms users understand.

Don’t use full stops at the end and avoid complicated sentence structures that require commas.

29d53cae-7a66-808b-9d8d-e97a963331af.png
29d53cae-7a66-80f0-a7eb-fd4ee096be82.png

Keep toasts short and direct. Toasts are for quick feedback, not long explanations.

Use a longer, more descriptive sentence only when it removes ambiguity or provides critical clarity.

Since our toasts have a fixed width, keep content to basic text and an action (when relevant). Don’t nest additional components (buttons, inputs, checkboxes, etc.) within the toast.

Try to avoid using more than 6 words per toast.

29d53cae-7a66-80be-b119-eacc1bd2e396.png
29d53cae-7a66-8019-947a-d9ce89a5cce4.png

Always frame the message around the system state or the required action, not the user’s mistake. This keeps focus on what the user can do next.

When something goes wrong, users already feel frustrated. Blaming them directly (“You entered the wrong password”) adds friction and damages trust.

29d53cae-7a66-807e-a5f9-f0c667412ed7.png
  • Banner: A prominent section at the top of a page that provides users with important feedback or information relating to the entire page, product, or application.
  • Callout: Capture the attention of users and provide them with important feedback or information that relates to an entire page or page section.
  • Modal: A page overlay that displays information and blocks interaction with the page until an action is taken or the modal is dismissed.