Skip to content

🍞 Instant, lightweight toast notifications for React. No providers or containers needed.

Notifications You must be signed in to change notification settings

almond-bongbong/react-simple-toasts

Repository files navigation

React Simple Toasts πŸžπŸš€

Elevate your React applications with ultra-sleek toast notifications! With React Simple Toasts, you get an instant, lightweight, and highly customizable toast notification system - all without the hassle of complex setups. Let's make your user notifications pop!

NPM NPM Downloads Size License
βœ… Test Deploy to GitHub Pages

preview

Table of Contents

Installation πŸ“¦

Get started in seconds!

npm install react-simple-toasts

Usage πŸ’‘

Integrate with ease. Customize with flair.

import toast, { toastConfig } from 'react-simple-toasts';
import 'react-simple-toasts/dist/theme/dark.css';

toastConfig({ theme: 'dark' });

function MyComponent() {
  return (
    <button onClick={() => toast('Your toast is ready! 🍞')}>
      Show Toast
    </button>
  );
}

Key Features 🌟

  • Ease of Use: Set up in minutes, not hours!
  • Customizable: Tailor to your style – themes, durations, interactions.
  • Browser Friendly: Consistent experience across all major browsers.
  • Interactive: Engaging, clickable toasts with auto-close options.
  • Multi-Toast Control: Manage multiple notifications effortlessly.

Themes 🎨

Your style, your toast. Choose from built-in themes or create your own.

Standard Theme

standard theme showcase

Creative Theme

creative theme showcase

Documentation πŸ“˜

Explore full documentation for in-depth guides, examples, and API details.

Contribute 🀝

Join our growing community! Star us on GitHub and contribute to making React Simple Toasts better.

License πŸ“œ

React Simple Toasts is MIT licensed.