Themes
Ecommerce
UI Elements
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
| Prop | Type | Default | Description |
|---|---|---|---|
logoUrl | string | - | URL of the product logo |
actorName | string | "Someone" | Name of the user who performed the action |
actorAvatarUrl | string | - | URL of the user's avatar |
_action | string | "notified you" | Action description |
_targetName | string | "your update" | Name of the notification target |
ctaLabel | string | "View" | CTA button label |
ctaHref | string | "#" | CTA button link |
_productName | string | "Acme" | Product name |