Interactive Toast Notification Demo

Toast Notification Configuration

Toast Notification Types - Better than SweetAlert & Toastr

Advanced Toast Examples

🆕 New Features & CONF (Confirmation)

Installation & Setup Guide

npm install toastify-pro
import ToastifyPro from 'toastify-pro';

// Best React Toast Alternative
const toast = new ToastifyPro();
toast.success('Hello World!');

// 🆕 NEW: Confirmation dialogs
toast.conf('Save changes?', {
  description: 'Your data will be saved permanently.',
  confirmText: 'Save',
  cancelText: 'Cancel',
  position: 'center'
}, (confirmed) => {
  console.log('User confirmed:', confirmed);
});
<script src="https://cdn.jsdelivr.net/npm/toastify-pro@latest/dist/toastify-pro.umd.min.js"></script>
// SweetAlert Alternative - No jQuery Required
const toast = new ToastifyPro();
toast.success('Hello World!');

// 🆕 NEW: Confirmation dialogs
toast.conf('Delete item?', (confirmed) => {
  if (confirmed) {
    toast.success('Deleted!');
  } else {
    toast.info('Cancelled');
  }
});
yarn add toastify-pro
import ToastifyPro from 'toastify-pro';

// Toastr Replacement - Modern & Lightweight
const toast = new ToastifyPro();
toast.success('Hello World!');

// 🆕 NEW: Confirmation dialogs
toast.conf('Save changes?').then(confirmed => {
  if (confirmed) {
    toast.success('Saved successfully!');
  }
});

Why Choose Toastify Pro? Features & Benefits

🚀 Ultra Lightweight Toast Library

Only ~2KB minified with zero dependencies. Fastest toast notification library available. Better than SweetAlert and Toastr in size and performance.

🎨 6 Beautiful Toast Themes

Success, Error, Info, Warning, Dark, and Light themes out of the box. More customizable than any SweetAlert alternative.

📱 Smart Responsive Positioning

6 different position options (top-left, top-right, top-center, bottom-left, bottom-right, bottom-center) that adapt to any layout design.

⚡ Hardware-Accelerated Animations

Smooth CSS transitions with fade and slide effects. 60fps performance guaranteed. Smoother than React-Toastify.

🔧 Framework Agnostic Design

Works seamlessly with React, Vue, Angular, or vanilla JavaScript. Perfect React Toast alternative without React dependency.

📱 Mobile-First Responsive

Mobile-first design that adapts to all screen sizes. Better mobile experience than SweetAlert or Toastr.

🎯 Easy Customization & API

Highly configurable with custom timeouts, positions, and styling. Easier to customize than any toast library.

🌐 Universal Browser Support

Supports all modern browsers including IE11+. More compatible than most notification libraries.

🎨 Custom SVG Icons

Beautiful vector icons for each toast type. Crisp at any resolution with perfect scaling. Icons adapt to theme colors automatically.

📝 Description Support

Add optional secondary text with descriptions. Perfect for detailed user feedback with title + description format.

🚗 Car Swipe Exit Animations

Position-aware exit animations that swipe toasts off-screen in the most natural direction. 5 different swipe patterns.

📱 POP UP Entrance

Stunning Apple-style entrance animation with rotation and scaling effects. Professional iOS-inspired user experience.

✨ Glassmorphism Design

Modern glassmorphism effects with backdrop-filter blur and translucent backgrounds. Premium visual design that stands out.

📊 Progress Bar Animation

Animated progress bar with shimmer effects showing remaining time. Visual countdown with smooth linear animation.

🔔 Interactive Confirmation Dialogs

NEW! Built-in confirmation dialogs with customizable buttons, callbacks, and themes. Perfect for delete confirmations, save dialogs, and user decisions.

🎯 Perfect Center Positioning

NEW! Center position option places toasts in the exact center of the screen. Ideal for important confirmations and critical notifications.