Skip to main content

Toast
API

The API for interacting with toast.

The base API object provided to this and other customer-account extension targets.

required

The Toast API displays a non-disruptive message that displays at the bottom of the interface to provide quick, at-a-glance feedback on the outcome of an action.

How to use:

  • Use toasts to confirm successful actions.

  • Aim for two words.

  • Use noun + past tense verb format. For example, `Changes saved`.

For errors, or information that needs to persist on the page, use a banner component.

Was this section helpful?