Skip to content

Releases

v3.0.0

Choose a tag to compare

@kmhayeon kmhayeon released this 04 Jan 13:21

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.