+2
Daily
+35
Weekly
+91
Monthly
19,938
stars
1,117
forks
44
watchers
2,787
prs
754
issues
689
releases
README
!React email cover
React Email
The next generation of writing emails.High-quality, unstyled components for creating emails.
Website
·
GitHub
Introduction
A collection of high-quality, unstyled components for creating beautiful emails using React and TypeScript.
It reduces the pain of coding responsive emails with dark mode support. It also takes care of inconsistencies between Gmail, Outlook, and other email clients for you.
Why
We believe that email is an extremely important medium for people to communicate. However, we need to stop developing emails like 2010, and rethink how email can be done in 2026 and beyond. Email development needs a revamp. A renovation. Modernized for the way we build web apps today.
Install
sh
npm i react-email@latest
Getting started
Define your email template with React, include styles and our components where needed.
jsx
import { Button } from "react-email";
export default function Email() {
return (
Click me
);
};
Using with AI
Install the React Email skill to teach your coding agent (Claude Code, Codex, Cursor, GitHub Copilot, and others) how to build emails with React Email:
sh
npx skills add resend/react-email
The docs are also available for LLMs at react.email/docs/llms.txt.
Components
A set of standard components to help you build amazing emails without having to deal with the mess of creating table-based layouts and maintaining archaic markup.
- Html
- Head
- Button
- Container
- CodeBlock
- CodeInline
- Column
- Row
- Font
- Heading
- Divider
- Image
- Link
- Markdown
- Preview
- Section
- Tailwind
- Paragraph
- Body
Editor
React Email also provides an Editor built on top of TipTap and ProseMirror, It serializes to React Email components, and exports email-ready HTML and plain text.
See the Editor documentation for more details.
Integrations
Emails built with React Email can be converted into HTML and sent using any email service provider. Here are some examples:
- Resend
- Nodemailer
- SendGrid
- MailerSend
- Mailgun
- Postmark
- AWS SES
- Azure Communication Email
- Plunk
- Scaleway
Support
All components were tested using the most popular email clients.
| | | | | | |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| Gmail ✔ | Apple Mail ✔ Top issues
#3878render: Prettier is bundled even when `pretty` is never used2 comments · 2026-11-09#3909CLI export silently overwrites templates across build batches0 comments · 2026-11-14#746Dependency Dashboard0 comments · 2023-07-05
Discussions
#3851Search and filter0 comments · 2026-11-03#3848Preview: apply `max-device-width` media queries at the Mobile preset0 comments · 2026-11-02#3842RFC: extension points for the preview (extra source tabs, a post-render hook)0 comments · 2026-10-30#3800document unstableTextConversion and unstableToPlainText2 comments · 2026-10-23#3798Remove prettier from production dependencies0 comments · 2026-10-23#3797Disabling "Send" button in `@react-email/ui`0 comments · 2026-10-21#3786Procedure for contributing more templates1 comments · 2026-10-13#3783Is it possible to have dynamic props in json templates for email editor1 comments · 2026-10-10
Latest release
[email protected] [email protected] 2026-11-13Patch Changes bd2ca02: Make pixelBasedPreset also convert the border radius and max width scales to pixels, so rounded- and max-w- no longer emit rem. c2b937f: Fix styles being dropped by Gmail when using variants like hover: or sm:dark: