0
Sponsor

Feature with Product Image

Marketing feature variant for email templates

Installation

$ pnpm dlx shadcn@latest add @emailcn/feature-with-product-image

Usage

import { FeatureWithProductImage } from "@/components/emails/ecommerce/product-detail/feature-with-product-image";
<FeatureWithProductImage {...FeatureWithProductImage.PreviewProps} />

API Reference

PropTypeDefaultDescription
productImageUrlstring-Product image URL
productNamestring-Product name
productDescriptionstring-Product description
pricestring-Product price
ctaLabelstring-CTA button label
ctaHrefstring"#"CTA button link
themeEmailThemedefaultThemeEmail theme styling