resend avatar

React Email

This gives Claude the context to build React-based email templates that actually work across email clients. It covers the full workflow: scaffolding projects, using the dev server with live preview, composing emails with pre-built components like Button and Container, and rendering to production HTML. The skill enforces practical constraints like pixel-based Tailwind instead of rem units, table-based layouts instead of flexbox, and proper static asset handling between dev and production. It also handles the Resend integration for actually sending the emails. Useful if you're building transactional emails or need to embed an email editor in your app without fighting Outlook's ancient rendering engine.

skills.sh installs
13.3K
GitHub stars
211
last updated
Aug 21, 2026

Install

$ npx -y skills add resend/resend-skills --skill react-email --agent claude-code

Installs into .claude/skills of the current project.

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;
}

Sponsors

Details

Repository
github.com/resend/resend-skills
Categories
Frontend Development, Design & UI/UX
First seen
May 16, 2026

More from resend/resend-skills

All 6
1heroui-inc avatarheroui-reactheroui-inc/herouiHeroUI v3 React component library (Tailwind CSS v4 + React Aria). Use when building UIs with HeroUI — creating Buttons, Modals, Forms, Cards; installing @heroui12.6Kskills.sh installs
2msw-git avatarmsw-ui-systemmsw-git/msw-ai-coding-plugins-officialMSW `.ui` single entry point — design + component API + builder + runtime. Anchor/pivot/RectTransform, UIGroup/CanvasGroup hierarchy, layout recipes (HUD/popup/10.5Kskills.sh installs
3resend avatarreact-emailresend/react-emailUse when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emai10Kskills.sh installs
4onmax avatarvueonmax/nuxt-skillsUse when editing .vue files, creating Vue 3 components, writing composables, or testing Vue code - provides Composition API patterns, props/emits best practices8.1Kskills.sh installs
5onmax avatarnuxt-uionmax/nuxt-skillsUse when building styled UI with @nuxt/ui v4 components - create forms with validation, implement data tables with sorting, build modal dialogs and overlays, co7.2Kskills.sh installs
6affaan-m avatarfrontend-patternsaffaan-m/eccFrontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.7.1Kskills.sh installs