Email Notification

Email Notification: Mail alert on the iOS grid — sender avatar, app name header, natural from: subject — preview body line. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Email Notification

npx motion-ui-skill add email-notification

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Source files

Email Notification

Mail alert on the iOS grid — sender avatar, app name header, natural from: subject — preview body line.

Install

npx motion-ui-skill add email-notification

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Usage

"use client";

import { EmailNotificationBanner } from "@/components/notifications/email-notification-banner";

export function EmailNotificationBannerDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <EmailNotificationBanner />
    </div>
  );
}

API Reference

EmailNotificationBanner

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category