@react-email/render
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

React Email button cover

@react-email/render
Transform React components into HTML email templates.

Install

Install component from your command line.

With yarn

yarn add @react-email/render -E

With npm

npm install @react-email/render -E

Getting started

Convert React components into a HTML string.

import { MyTemplate } from "../components/MyTemplate";
import { render } from "@react-email/render";

const html = render(<MyTemplate firstName="Jim" />);

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i @react-email/render

Weekly Downloads

484,704

Version

0.0.15

License

MIT

Unpacked Size

16.5 kB

Total Files

7

Last publish

Collaborators

  • gabrielmfern
  • bukinoshita
  • zenorocha