Beautiful toasts.
Zero hassle.
A tiny, framework-agnostic toast notification library with a live interactive playground, CSS & Tailwind style modes, and live syntax generation.
npx nudge-ui1import { toast } from "nudge-ui";23// One line for any toast type4toast.success("Saved successfully!");5toast.error("Failed to save changes.");6toast.warning("Low disk space warning.");7toast.info("New update available.");8toast.loading("Processing request…");910// Full control when you need it11toast.show("Custom notification", {12 type: "success",13 position: "bottom-right",14 duration: 3500,15 title: "All done!",16 onClose: (t) => console.log("closed", t.id),17});Everything you need
Thoughtfully designed. Production ready. Fully customizable.
Blazing Fast
Zero dependencies, under 4KB gzipped. Loads in milliseconds.
CSS & Tailwind Modes
Generate code in CSS class or Tailwind utility flavors - switch instantly.
Fully Typed
Written in TypeScript with exported types for every option and callback.
Framework Agnostic
Vanilla JS core with thin React, Vue, and Svelte wrappers available.
Accessible
ARIA roles, live regions, and keyboard support built in by default.
6 Positions
Top/bottom × left/right/center - any corner or edge of the viewport.
Sahil Gadhiya
Full-stack developer building open-source developer tools. Liked Nudge UI? Let's connect, collaborate, or build your next project together!