0
Sponsor

Header with Logo and Badge

Marketing headers variant for email templates

Installation

$ pnpm dlx shadcn@latest add @emailcn/header-with-logo-and-badge

Usage

import { HeaderWithLogoAndBadge } from "@/components/emails/marketing/headers/header-with-logo-and-badge";
<HeaderWithLogoAndBadge {...HeaderWithLogoAndBadge.PreviewProps} />

API Reference

PropTypeDefaultDescription
logoUrlstring-Logo image URL
logoAltstring"Logo"Alt text for logo
hrefstring"#"Logo link URL
themeEmailThemedefaultThemeEmail theme styling