@monetr/notify
Toast notifications for React.

Drop-in notistack-compatible API. Stacked toasts, hover-pause, drag-to-dismiss. Renderer lazy-loaded by default.

npm
yarn
pnpm
bun
deno
npm install @monetr/notify
🔄

Notistack-compatible

Same names and call signatures for SnackbarProvider, useSnackbar, and enqueueSnackbar.

Lazy-loaded renderer

The provider + hook are ~2.5 KB gzipped. The toast UI loads only when the first notification fires.

🧭

Six anchor positions

top/bottom × left/center/right. Each anchor has its own independent stack.

👆

Drag-to-dismiss

Direction-aware swipe based on the toast's anchor position.

🎨

Theming via CSS variables

No runtime style props. Override --monetr-notification-* from your own stylesheet.

🌐

SSR-safe

No portals on the server. Renderer mounts after the first client-side enqueue.