- ✅ Easy to integrate
- 🎨 Fully customizable
- 🌗 Light & Dark mode support
- ⚡ Zero dependencies
- 💡 Built-in variants:
classic
,default
,"minimal"
- 🧩 Extendable global defaults
- 🎥 Modal animations
- 🔄 Confirm/Dismiss handling with
Promise
npm install notify-bolt
# or
yarn add notify-bolt
import { showNotify } from "notify-bolt";
const handleClick = () => {
showNotify({
title: "Delete this item?",
message: "This action is permanent. Do you wish to proceed?",
variant: "classic",
themeMode: "dark",
status: "warning",
showConfirmButton: true,
showCancelButton: true,
})
.then(() => {
// Handle Confirm
})
.catch(() => {
// Handle Dismiss
});
};
🔗 Full list of options, props, and examples available at the Notify Bolt Playground.