Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-simple-toasts

Package Overview
Dependencies
Maintainers
0
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-simple-toasts

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

  • 6.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.7K
increased by19.27%
Maintainers
0
Weekly downloads
 
Created
Source

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 🌟

  • 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.

Keywords

FAQs

Package last updated on 18 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc