0
Sponsor

Boxed CTA with Background Image

Marketing cta variant for email templates

Installation

$ pnpm dlx shadcn@latest add @emailcn/boxed-cta-with-background-image

Usage

import { BoxedCtaWithBackgroundImage } from "@/components/emails/marketing/cta/boxed-cta-with-background-image";
<BoxedCtaWithBackgroundImage {...BoxedCtaWithBackgroundImage.PreviewProps} />

API Reference

PropTypeDefaultDescription
headingstring"Get Started"Banner heading
subtextstring"Join thousands of happy users."Banner subtext
ctaLabelstring"Get Started"CTA button label
ctaHrefstring"#"CTA button link
themeEmailThemedefaultThemeEmail theme styling