almond-bongbong / react-simple-toasts

🍞 Instant, lightweight toast notifications for React. No providers or containers needed.
https://almond-bongbong.github.io/react-simple-toasts/
38 stars 9 forks source link
react react-notifications react-toastify toast toast-message toast-notifications toast-ui toastify toastr

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

🚀 Version 6.0.0 Update Notice

We've made significant changes in version 6.0.0:

  • Switched to BEM styling for easier customization
  • Now requires explicit import of style.css

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/style.css';
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 🌟

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 🤝

almond-bongbong
Max
Kim-Yeon-ho
Hardy
hemengke1997
Minko
ammuench
Alex Muench
THEmmanuel
Emmanuel Ayodele Bello
silverwind
silverwind

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

License 📜

React Simple Toasts is MIT licensed.