Documentation

Feature Showcase

Every robot-toast option with live, editable demos. Hit run and watch the toast come to life.

61 features10 categoriesFully stylable

🤖 Robots

16 features

Wave Robot

Friendly waving robot companion

robot
robot-toast

Base Robot

Standard robot variant

robot
robot-toast

Base 2 Robot

Alternative base variant

robot
robot-toast

Success Robot

Happy robot for success messages

robot
robot-toast

Error Robot

Worried robot for error messages

robot
robot-toast

Angry Robot

Angry expression robot

robot
robot-toast

Angry 2 Robot

Alternative angry variant

robot
robot-toast

Shock Robot

Surprised robot

robot
robot-toast

Think Robot

Thoughtful robot

robot
robot-toast

Loading Robot

Loading spinner robot

robot
robot-toast

Sleep Robot

Sleeping robot

robot
robot-toast

Head Palm Robot

Embarrassed head-palm gesture

robot
robot-toast

Typing Robot

Robot with typing gesture

robot
robot-toast

Validation Robot

Validation check robot

robot
robot-toast

Validation 2 Robot

Alternative validation variant

robot
robot-toast

📍 Positions

6 features

Top Right Position

Display toast in the top-right corner

position
robot-toast

Top Left Position

Display toast in the top-left corner

position
robot-toast

Top Center Position

Display toast at the top center

position
robot-toast

Bottom Right Position

Display toast in the bottom-right corner

position
robot-toast

Bottom Left Position

Display toast in the bottom-left corner

position
robot-toast

Bottom Center Position

Display toast at the bottom center

position
robot-toast

🎨 Themes

3 features

Light Theme

Light color scheme

theme
robot-toast

Dark Theme

Dark color scheme

theme
robot-toast

Colored Theme

Colorful theme based on type

theme
robot-toast

🏷️ Types

5 features

Default Type

Default notification type

type
robot-toast

Info Type

Informational notification

type
robot-toast

Success Type

Success notification

type
robot-toast

Warning Type

Warning notification

type
robot-toast

Error Type

Error notification

type
robot-toast

✨ Animations

5 features

Typewriter Effect

Characters appear one by one

animation
robot-toast

Bounce Transition

Springy bounce entry and exit

animation
robot-toast

Slide Transition

Smooth horizontal slide in and out

animation
robot-toast

Zoom Transition

Scales up from the center

animation
robot-toast

Flip Transition

3D flip entry

animation
robot-toast

⚙️ Behavior

7 features

Progress Bar

Countdown progress bar animation

behavior
robot-toast

Persistent Toast

Disable auto-close — toast stays until manually dismissed

behavior
robot-toast

Quick Close (1.5s)

Short-lived toast that auto-closes in 1.5 seconds

behavior
robot-toast

Long Display (10s)

Lingering toast with a 10-second countdown

behavior
robot-toast

Hidden Progress Bar

Auto-closes without showing the countdown bar

behavior
robot-toast

Pause on Hover

Countdown pauses while the cursor is over the toast

behavior
robot-toast

Pause on Focus Loss

Countdown pauses when the window loses focus (try switching tabs)

behavior
robot-toast

👆 Interactions

9 features

Drag & Drop

Click and drag the toast anywhere

interaction
robot-toast

RTL Layout

Right-to-left layout — message on the right, robot on the left

interaction
robot-toast

Away From Edge

Flip robot placement so the message sits closer to the screen edge

interaction
robot-toast

1 Button

Toast with a single action button

interaction
robot-toast

2 Buttons

Toast with two action buttons

interaction
robot-toast

3 Buttons

Toast with three action buttons

interaction
robot-toast

4 Buttons

Toast with four action buttons

interaction
robot-toast

5 Buttons

Toast with five action buttons

interaction
robot-toast

6 Buttons

Toast with six action buttons

interaction
robot-toast

⏳ Async

2 features

Promise Lifecycle

Handle loading, success, and error states

async
robot-toast

Lifecycle Callbacks

Fire custom logic when the toast opens and closes (check your console)

async
robot-toast

🎭 Styling

1 feature

Custom Styling

Apply custom CSS styles inline

styling
robot-toast

🍞 other-style

7 features

other Default

Dark other base — white text on near-black with a subtle border

other
robot-toast

other · Success

Dark card with a green accent — matches the other success look

other
robot-toast

other · Error

Dark card with a red accent

other
robot-toast

other · Warning

Dark card with an amber accent

other
robot-toast

other · Info

Dark card with a blue accent

other
robot-toast

other · Description

Two-line toast — title + subtitle via newline in the message

other
robot-toast

other · Rich

Glassy gradient card with an inset highlight

other
robot-toast