Email Header

Simple email header band that shows your brand name on a muted background with a bottom border. Sits at the top of the email layout in React templates.

src/registry/ui/email-header.tsx/r/email-header.json

Installation#

bash
npx shadcn@latest add @minidev/email-header

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/email-header.json

Usage#

tsx
import { EmailHeader } from "@/components/ui/email-header"

export function Example() {
  return (
    <EmailHeader />
  )
}

API reference#

EmailHeader props
PropTypeDefault
brandstring"MiniDev"
classNamestring-

Examples#

All email templates