Themes
Marketing
Ecommerce
Installation
$ pnpm dlx shadcn@latest add @emailcn/split-product-detail
Usage
import { SplitProductDetail } from "@/components/emails/ecommerce/product-detail/split-product-detail";<SplitProductDetail {...SplitProductDetail.PreviewProps} />API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
productImageUrl | string | - | Product image URL |
productName | string | - | Product name |
productDescription | string | - | Product description |
price | string | - | Product price |
ctaLabel | string | - | CTA button label |
ctaHref | string | "#" | CTA button link |
theme | EmailTheme | defaultTheme | Email theme styling |