Install

Install component from your command line.

npm install @react-email/components -E

# or get the individual package

npm install @react-email/container -E

Getting started

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

import { Container, Button } from "@react-email/components";

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

Support

All components were tested using the most popular email clients.

Gmail

Gmail

Apple Mail

Apple Mail

Outlook

Outlook

Yahoo! Mail

Yahoo! Mail

HEY

HEY

Superhuman

Superhuman