New advertisers: 50% off your first month with code FIRSTMONTHSee slots
resend avatar

React Email

Build HTML email templates in React with a visual editor, previews, and Resend delivery.

skills.sh installs
13.5K
GitHub stars
216
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers welcome emails, password resets, order confirmations, newsletters, and other transactional email types
  • Includes Tailwind with pixelBasedPreset, the Html, Container, and Button components, plus a dev preview on localhost:3000
  • Enforces email-client limits: no flexbox, grid, media queries, dark-mode selectors, SVG, or WEBP images
  • Designed for developers adding email templates or an embeddable visual editor to a React application

Install

$ npx -y skills add resend/resend-skills --skill react-email -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

React Email

Build and send HTML emails using React components. A modern, component-based approach to email development that works across all major email clients.

Installation

npm i react-email

Or scaffold a new project:

npx create-email@latest
cd react-email-starter
npm install
npm run dev

This works with any package manager (npm, yarn, pnpm, bun) — substitute accordingly.

The dev server runs at localhost:3000 with a preview interface for templates in the emails folder.

Adding to an Existing Project

Install the packages and add a script to your package.json:

{
  "scripts": {
    "email": "email dev --dir emails --port 3000"
  }
}

Make sure the path to the emails folder is relative to the base project directory. Ensure tsconfig.json includes proper support for JSX.

Basic Email Template

Create an email component with proper structure using the Tailwind component for styling:

import {
  Html,
  Head,
  Preview,
  Body,
  Container,
  Heading,
  Text,
  Button,
  Tailwind,
  pixelBasedPreset
} from 'react-email';

interface WelcomeEmailProps {
  name: string;
  verificationUrl: string;
}

Details

Repository
github.com/resend/resend-skills
Categories
Frontend & UI Code, Email & Messaging
First seen
May 16, 2026

More from resend/resend-skills

All 5

Similar to React Email

More Frontend & UI Code