Free and open source. MIT licensed.
A visual email builder you can actually own.
Drag, drop and edit newsletters inside your React app. Export table-based HTML that works in Gmail, Outlook and Apple Mail, plus a plain-text version. Send it with any provider.
Built for the inbox, not the browser
Email-safe HTML
Nested tables, inlined CSS, MSO fallbacks for Outlook buttons. It renders where flexbox never will.
Dark mode and plain text
Every export ships a dark-mode stylesheet and a readable plain-text alternative for better deliverability.
Merge tags that stay yours
Use {{firstName}} style tags with sample data in the editor and your own values at send time.
Sanitised by default
Rich text and URLs are cleaned before they reach the output. Unsafe links never make it into an email.
Lint before you send
Catches missing alt text, Gmail clipping at 102 KB, missing unsubscribe links and low contrast.
No vendor lock-in
Export HTML and plain text and send through Mailchimp, HubSpot, SES, Resend, or your own SMTP.
Up and running in one component
Install the package, import the stylesheet once, and render the builder. It owns its own state; you get the document and the compiled email through callbacks.
npm install newsletter-builder-react'use client'
import { NewsletterBuilder, createWelcomeTemplate } from 'newsletter-builder-react'
import 'newsletter-builder-react/styles.css'
export function Editor() {
return (
<NewsletterBuilder
initialDocument={createWelcomeTemplate()}
variables={{ unsubscribeUrl: 'https://example.com/u/123' }}
onExport={(email, action) => console.log(action, email.html.length)}
height="100vh"
/>
)
}