A lightweight and customizable toast notification library for React ⚡
Perfect for devs who want clean, simple toasts without heavy dependencies.
📦 Installation
Install using npm:
```bash
npm install react-toastify-lite
QUICK START
Import and use in your React app:
import { ToastContainer, showToast } from 'react-toastify-lite';
import 'react-toastify-lite/dist/index.css'; // Required for styles
function App() {
return (
<>
>
);
}
FEATURES:
- Simple to use
- Customizable duration
- No external dependencies
- CSS theming support
- Built with TypeScript
PROPS (for ToastContainer)
Prop Type Default Description
position string "top" Position of toasts (top, bottom)
duration number 3000 Duration in milliseconds
theme string "light" Theme color (light or dark)
COMING SOON
Icons support
Progress bars
Toast stacking logic
AUTHOR
Made with love by Darasimi
Feel free to contribute, report bugs, or suggest features!