Basic example

Toasts are as flexible as you need and have very little required markup. At a minimum, we require a single element to contain your “toasted” content and strongly encourage a dismiss button.

Color scheme

Use color utilities to change the color of the toast. You can use the .text- utilities on the parent .toast element or any descendant element to change the color of the text.

Custom content

You can also use custom HTML as your toast's content. Just be sure to add .toast-header to the top of your markup. Below, we've created a .toast-header with a close button and a title. We've also added an .avatar to the image placeholder.

Buy Now