1. Components
  2. Toasts

Components

Tailwind CSS Toasts

Push notifications to your visitors with Tailwind CSS toast, a lightweight and easily customizable alert message. Add icons, progress bar, dismiss buttons and more.

Example

A basic form of the toasts.

Condensed

Vertically stacking multiple toasts in a readable manner.

Solid color variants

The default form of solid color toasts.

Soft color variants

The default form of soft color toasts.

Message with loading indicator

Display a global loading indicator, which is dismissed by itself asynchronously.

With actions

Add additional controls and components to toasts.

Stack

Vertically stacking multiple toasts in a readable manner.

Avatar

You can also add additional elements, such as an avatar image.

Progress

You can also add additional elements, such as an icon and a progress bar.

Placement

Display a notification message at any place of the viewport.

Dismiss button

Use dismiss-alert to dismiss a content.

JavaScript Behavior New

Requires Additional Installation

Note that this feature requires the use of the third-party Toastify plugin.

Use Toastify to create dynamic toasts.