0
Sponsor

Notification Emails

Pre-built notification email templates for various use cases.

Installation

$ pnpm dlx shadcn@latest add @emailcn/block-notification-default

Usage

import { NotificationDefault } from "@/components/emails/notification-default";
<NotificationDefault {...NotificationDefault.PreviewProps} />

API Reference

Notification Emails

PropTypeDefaultDescription
logoUrlstring-URL of the product logo
actorNamestring"Someone"Name of the user who performed the action
actorAvatarUrlstring-URL of the user's avatar
_actionstring"notified you"Action description
_targetNamestring"your update"Name of the notification target
ctaLabelstring"View"CTA button label
ctaHrefstring"#"CTA button link
_productNamestring"Acme"Product name