Sonner
Sonner: Toast notification system with stacked queue, promise states, and action buttons. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Sonner
npx motion-ui-skill add sonnerComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactnext-themesreactsonnertailwind-merge
Source files
Sonner
Component from Motion UI: sonner
Install
npx motion-ui-skill add sonner
Dependencies
clsxlucide-reactnext-themesreactsonnertailwind-merge
Usage
"use client";
import Sonner from "@/components/motion/sonner";
export function Example() {
return (
<div className="p-6">
<Sonner />
</div>
);
}