Toasts

Push notifications to your visitors with a toast, a lightweight and easily customizable alert message.

Live example

Click the button below to show a toast (positioned with our utilities in the lower right corner) that has been hidden by default.

Translucent

Toasts are slightly translucent to blend in with what’s below them.

Stacking

You can stack toasts by wrapping them in a toast container, which will vertically add some spacing.

Custom content

Customize your toasts by removing sub-components

Alternatively, you can also add additional controls and components to toasts.

Color schemes

Building on the above example, you can create different toast color schemes with our color and background utilities. Here we’ve added .text-bg-primary to the .toast, and then added .btn-close-white to our close button. For a crisp edge, we remove the default border with .border-0.