Skip to content

React email templates

Free React email components: layout, header, footer, buttons and complete welcome and receipt emails, designed to match your product UI.

8 itemsFree, MITshadcn CLI compatibleTailwind CSS v4Light and dark

Email components are building blocks for email previews. EmailLayout is a 560px shell with EmailHeader, EmailCard, EmailButton and EmailFooter inside it, and EmailPreviewFrame goes around it to show the sender and subject. EmailWelcome and EmailReceipt are complete examples.

They render a preview inside your app, for template editors and notification settings. Before sending real mail, inline the styles (or rebuild the design in React Email), because most email clients ignore stylesheets. EmailButton is an <a>, because email clients follow links, not buttons.

Which one should I use?

You needUseWhy
The email shellEmail Layout560px wide
A brand band at the topEmail HeaderText or your logo
A call to actionEmail ButtonA link styled as a button
A grouped content blockEmail CardReceipt summary, code, callout
Unsubscribe and addressEmail FooterPass real URLs
Show sender and subjectEmail Preview FrameInbox-style frame
A welcome emailEmail WelcomeBuilt from the Email parts
A payment receiptEmail ReceiptTotal computed with Intl

8 items

npx shadcn@latest add @minidev/email-button @minidev/email-card @minidev/email-footer @minidev/email-header @minidev/email-layout @minidev/email-preview-frame @minidev/email-receipt @minidev/email-welcome

Components 6

  • Solid link button for email templates with a fixed height, padding and rounded corners. Uses an anchor so it survives email clients that strip buttons.

    npx shadcn@latest add @minidev/email-button
  • Content card for transactional emails with an optional title and body text, inset from the email edges. Use it for receipts, codes and highlights.

    npx shadcn@latest add @minidev/email-card
  • Email footer with your company address and Unsubscribe and Preferences links, centered on a muted background. Covers what marketing emails need at the end.

    npx shadcn@latest add @minidev/email-footer
  • 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.

    npx shadcn@latest add @minidev/email-header
  • Email layout shell with a centered 560px column, rounded border and surface background. Compose it with the email header, cards, button and footer.

    npx shadcn@latest add @minidev/email-layout
  • Inbox style preview frame showing the sender and subject above the rendered email body. Handy for template galleries and email settings screens.

    npx shadcn@latest add @minidev/email-preview-frame

Motion 2

  • A payment receipt email in a preview frame with a branded header, plan and tax line items, a bold total and a footer. A React starting point for billing mail.

    npx shadcn@latest add @minidev/email-receipt
  • A React welcome email template in a preview frame with a branded header, intro copy, a call to action button, a quick start card and a standard footer.

    npx shadcn@latest add @minidev/email-welcome

Using an AI coding agent? Read the agent guide, point it at /llms.txt for the full index, or paste /AGENTS.md into your project. Every component has plain Markdown docs at /docs/<name>.md.

See them live

Galleries render these components with sample data in every state.

Frequently asked questions

Can I send these components as real emails?

Not as they are. They render previews in your app, and most email clients strip stylesheets. Inline the styles, or rebuild the template with React Email using the same layout, before you send.

Is there a receipt email template?

Yes. EmailReceipt takes items in major units (49 means $49.00) and computes the total and the subject line, formatted with Intl for the currency you pass.

Does the footer include an unsubscribe link?

EmailFooter has unsubscribe and preferences links beside the sender address. Marketing email must carry a working unsubscribe link, so pass real URLs.