Notification
Notification: Square bell trigger with a gray inset tray — each notification is a small bordered card inside the panel. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Notification
npx motion-ui-skill add notificationComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactreacttailwind-merge
Source files
Notification
Square bell trigger with a gray inset tray — each notification is a small bordered card inside the panel.
Install
npx motion-ui-skill add notification
Dependencies
clsxlucide-reactreacttailwind-merge
Usage
"use client";
import { NotificationDropdown } from "@/components/dropdowns/notification-dropdown";
export function NotificationDropdownDemo() {
return (
<div className="flex items-center justify-center p-6">
<NotificationDropdown />
</div>
);
}
API Reference
NotificationDropdown
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |