Skip to content

πŸ’Œ Build and send emails using React

License

Notifications You must be signed in to change notification settings

noorazi/react-emails

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

React email cover

React Email
The next generation of writing emails.
High-quality, unstyled components for creating emails.

Website Β· GitHub Β· Discord

Introduction

A collection of high-quality, unstyled components for creating beautiful emails using React and TypeScript. It reduces the pain of coding responsive emails with dark mode support. It also takes care of inconsistencies between Gmail, Outlook, and other email clients for you.

Why

We believe that email is an extremely important medium for people to communicate. However, we need to stop developing emails like 2010, and rethink how email can be done in 2022 and beyond. Email development needs a revamp. A renovation. Modernized for the way we build web apps today.

Install

Install one of the components from your command line.

With yarn

yarn add @react-email/button -E

With npm

npm install @react-email/button -E

Getting started

Add the component to your email template. Include styles where needed.

import { Button } from '@react-email/button';

const Email = () => {
  return (
    <Button href="https://example.com" style={{ color: '#61dafb' }}>
      Click me
    </Button>
  );
};

Components

A set of standard components to help you build amazing emails without having to deal with the mess of creating table-based layouts and maintaining archaic markup.

Integrations

Emails built with React Email can be converted into HTML and sent using any email service provider. Here are some examples:

Support

All components were tested using the most popular email clients.

Gmail logo Apple Mail Outlook logo Yahoo! Mail logo HEY logo Superhuman logo
Gmail βœ” Apple Mail βœ” Outlook βœ” Yahoo! Mail βœ” HEY βœ” Superhuman βœ”

Development

Install dependencies

yarn install

Build and run packages

yarn dev

This will initialize all packages in parallel and watch for changes, including the website which will be available at localhost:3001.

Contributing

Authors

License

MIT License

About

πŸ’Œ Build and send emails using React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.2%
  • JavaScript 5.8%