Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-email

> 编程语言
Open source

💌 Build and send emails using React

19.5K stars0 likes2 views
WebsiteGitHub

About

💌 Build and send emails using React


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

bash
npm i react-email@latest

Getting started

Define your email template with React, include styles and our components where needed.

javascript
import { Button } from "react-email";

export default function Email() {
  return (
    <Button href="https://example.com" style={{ color: "#61dafb" }}>
      Click me
    </Button>
  );
};

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 ✔ Outlook ✔ Yahoo! Mail ✔ HEY ✔ Superhuman ✔

Development workflow

  1. Setting up your development environment
  2. Running tests
  3. Linting
  4. Building
  5. Writing documentation

Contributing

  • Contribution Guide

Brought to you by Resend, MIT License.

Issues· 35 open

View all issuesOpen on GitHub
  • #3760

    Markdown: th styles in markdownCustomStyles are never applied to table headers

    Updated Sep 29, 2026
  • #3753

    render: image preload links with imagesrcset or imagesizes survive stripping when as=image is omitted

    Updated Sep 23, 2026
  • #3746

    [editor] Slash command runs the wrong command when category groups are displayed out of array order

    Type: BugUpdated Sep 17, 2026
  • #3728

    Please upgrade chokidar to v5

    Type: BugUpdated Sep 8, 2026
  • #746

    Dependency Dashboard

    dependenciesUpdated Sep 3, 2026

> Tags

TypeScriptemailhacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言