Repository navigation
Releases
Releases · kmhayeon/react-basic-toastify
v3.0.0
Release Version
v3.0.0 - Initial Release
🎉 First release of react-basic-toastify!
A lightweight and customizable React toast notification library for developers who need simple yet flexible toast notifications.
🚀 Features
- Positioning: Choose from top-left, top-center, top-right, bottom-left, bottom-center, bottom-right.
- Close Button: Optional close button (showCloseButton) for user dismissing.
- Customizable Appearance: Easily style your notifications with CSS variables.
- TypeScript Support: Fully typed for seamless integration.
📦 Installation
npm install react-basic-toastify
📘 Usage Example
import { ToastProvider, toast } from 'react-basic-toastify';
function Example() {
return (
<ToastProvider position="bottom-right">
<button onClick={() => toast.success('Successfully toasted!')}>Show Success</button>
<button onClick={() => toast.error('An error occurred!')}>Show Error</button>
</ToastProvider>
);
}
🔮 Future Plans
- Accessibility improvements.
- Advanced animations.
- Built-in dark mode support.