0
Sponsor

CTA with Background Image

Marketing cta variant for email templates

Installation

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

Usage

import { CtaWithBackgroundImage } from "@/components/emails/marketing/cta/cta-with-background-image";
<CtaWithBackgroundImage {...CtaWithBackgroundImage.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