This library is still in development and is available only for internal usage at VTEX.
Skip to main content

Toast

Toast

Version: Next

Toast

Toast indicators allow merchants to receive instant feedback that is usually temporary and can always be dismissed.

Non-dismissable

Toasts are dismissable by default. The dismissable prop controls this behavior.

Action

Display a button allowing the toast to have an action.

Replacing toasts

You can assing a key to your toasts. Only a single toast with the given id is visible at once. Use it to reduce the number of toast on your app.