React email templates
Free React email components: layout, header, footer, buttons and complete welcome and receipt emails, designed to match your product UI.
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 need | Use | Why |
|---|---|---|
| The email shell | Email Layout | 560px wide |
| A brand band at the top | Email Header | Text or your logo |
| A call to action | Email Button | A link styled as a button |
| A grouped content block | Email Card | Receipt summary, code, callout |
| Unsubscribe and address | Email Footer | Pass real URLs |
| Show sender and subject | Email Preview Frame | Inbox-style frame |
| A welcome email | Email Welcome | Built from the Email parts |
| A payment receipt | Email Receipt | Total 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-welcomeComponents 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-buttonContent 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-cardEmail 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-footerSimple 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-headerEmail 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-layoutInbox 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
Email Receipt
motionA 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-receiptEmail Welcome
motionA 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.
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.