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

react-simple-toasts

Package Overview
Dependencies
Maintainers
1
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.

  • 5.9.0
  • Source
  • npm
  • Socket score

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

React Simple Toasts

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

NPM NPM Downloads Size License
✅ Test Deploy to GitHub Pages

preview

🚀 Getting Started

📦 Installation

npm install react-simple-toasts

💡 Usage Example

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

toastConfig({ theme: 'dark' });

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

🌟 Key Features

  • Ease of use: Simple installation and intuitive API
  • Highly customizable: Control over appearance, duration, user interaction, and more
  • Browser compatibility: Seamless operation across various browsers
  • Interactive: Clickable, with an option to close on click
  • Multiple toasts management: Control multiple toasts at once

📘 Comprehensive Documentation

Looking for more details, examples, and customization options? Explore the full capabilities of React Simple Toasts and try out live examples on our documentation page. It's your one-stop destination for everything you need to know about using this library.

🎨 Themes

React Simple Toasts offers fun built-in themes, and the flexibility doesn't stop there. Feel free to customize the themes to match your application's branding. Your toast, your style!

theme-showcase

🤝 Support and Contribution

If you find this library useful, please give us a star on GitHub! Your support greatly helps the project grow. Contributions are always welcome!

📜 License

Licensed under the MIT License.

Keywords

FAQs

Package last updated on 11 Sep 2023

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