GitHub

Toast

Notification popups with entrance/exit animations. Click the buttons below to see live toasts appear and auto-dismiss.

Basic Colors (click to trigger)

Rich Toast (click to trigger)

Progress Bar (auto-dismiss with timer)

Positions (click to show in each corner)

Glass Variant

Stacked Toasts

Color Variants (static)

Preview
Default toast
Info toast
Success toast
Warning toast
Error toast
Light variant
With title and message.
Glass toast

Classes Reference

Class Description
.toastFixed positioning container
.toast-topPosition at top
.toast-bottomPosition at bottom
.toast-startAlign to start (left)
.toast-centerCenter horizontally
.toast-endAlign to end (right)
.toast-middleCenter vertically
.toast-itemThe notification element (animates in)
.toast-removingExit animation (add to dismiss)
.toast-lightLight variant (base bg + border)
.toast-item.glassGlass morphism variant
.toast-iconIcon element (20px)
.toast-contentContent wrapper (flex-1)
.toast-titleToast heading
.toast-messageToast body text
.toast-actionAction button
.toast-closeDismiss button
.toast-progressProgress bar container
.toast-progress-barProgress bar fill
.color-info/success/warning/errorColor variants on .toast-item