Use familiar React components to create beautiful, responsive transactional emails. Auto-export to HTML that works everywhere.
Build your email template with React components:
import { Html, Head, Body, Container, Section, Text, Button, Link } from '@react-email/components';
export default function WelcomeEmail({ name }) {
return (
<Html>
<Head />
<Body style={{ fontFamily: 'sans-serif' }}>
<Container>
<Section>
<Text>Welcome, {name}!</Text>
<Button href="https://example.com">Get Started</Button>
</Section>
</Container>
</Body>
</Html>
);
}
Use familiar React patterns, components, and tooling. No more wrestling with table-based HTML email layouts.
React Email components are styled to look great in all major email clients out of the box.
Emails automatically adapt to mobile and desktop screens.
Works with Gmail, Outlook, Apple Mail, Yahoo, and more.
React Email includes a comprehensive component library:
Pass your React Email component to the MailForge API:
import MailForge from '@mailforge/sdk';
import { WelcomeEmail } from './emails';
const client = new MailForge({ apiKey: process.env.MAILFORGE_API_KEY' });
await client.emails.send({
to: 'user@example.com',
from: 'sender@yourdomain.com',
email: WelcomeEmail({ name: 'John' })
});
React Email support is included in Pro and Enterprise plans.
Create Free Account