Apple Notification
Apple Notification: Frosted iOS notification with app name, sender, message, and avatar — dismisses with animation and can be triggered again via button. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Apple Notification
npx motion-ui-skill add apple-notificationComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlucide-reactnextreacttailwind-merge
Source files
Apple Notification
Frosted iOS notification with app name, sender, message, and avatar — dismisses with animation and can be triggered again via button.
Install
npx motion-ui-skill add apple-notification
Dependencies
clsxlucide-reactnextreacttailwind-merge
Usage
"use client";
import { AppleNotificationBanner } from "@/components/notifications/apple-notification-banner";
export function AppleNotificationBannerDemo() {
return (
<div className="flex items-center justify-center p-6">
<AppleNotificationBanner />
</div>
);
}
API Reference
AppleNotificationBanner
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |