Description
react-email-editor is the official React component for embedding Unlayer's drag-and-drop email editor in an app. With a single component, developers add an email builder to their React app, so users can create email templates without the team having to build and maintain a full visual editor. The component can load and save designs, listen to editor events, customize the editor configuration, and export responsive HTML. Methods are available on the editor instance, including loadDesign, which takes a design JSON object, and saveDesign, which takes a callback that receives the design. The README says the editor renders into the DOM, so the component is client-only, and that the published bundle includes the 'use client' directive, so it can be imported directly from a Client Component in the Next.js App Router. Version 2.0 raised the requirements to React 16.8 or later and Node 18 or later, and it requires imports from the package root. It also destroys editors when they unmount. The project has a live demo, a video overview and a CHANGELOG. Its source is on GitHub.…
Highlights
- Drag-and-drop email builder for React
- Load and save designs
- Export responsive HTML
- Editor events and configuration
- Works with Next.js App Router
Ratings & Reviews
No ratings yet
Be the first to rate react-email-editor.
People also visit
Templatical Playground
Try the Templatical drag-and-drop email editor in this interactive playground
react-email-editor FAQ
What is react-email-editor?
The official React component for Unlayer's drag-and-drop email editor.
What can users do in it?
Build email templates by dragging and dropping, load and save designs, and export responsive HTML.
Which React version does it need?
React 16.8 or later, and Node 18 or later, as the upgrade notes say.
Does it work with Next.js?
Yes. The published bundle includes the 'use client' directive, so you can import it from a Client Component in the App Router.
How do I save a design?
Use the saveDesign method on the editor instance, which takes a callback.
Is there a demo?
Yes. The README links to a live demo and a video overview.
What are the best react-email-editor alternatives?
Popular alternatives to react-email-editor include emailcn, react-letter and emailcn. See all react-email-editor alternatives














