Socket
Socket
Sign inDemoInstall

react-simple-toasts

Package Overview
Dependencies
5
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
1.7K
decreased by-1.02%
Maintainers
1
Install size
42.9 kB
Created
Weekly downloads
 

Readme

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' }); // configure global toast settings, like theme

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!

Standard Theme

standard theme showcase

Creative Theme

creative 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

Last updated on 23 Sep 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc