🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@react-email/container

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-email/container

A layout component that centers all the email content

latest
Source
npmnpm
Version
0.0.16
Version published
Weekly downloads
3.3M
-18.03%
Maintainers
3
Weekly downloads
 
Created
Source

React Email container cover

@react-email/container
A layout component that centers all the email content.

Website · GitHub

Install

Install component from your command line.

With yarn

yarn add @react-email/container -E

With npm

npm install @react-email/container -E

Getting started

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

import { Button } from "@react-email/button";
import { Container } from "@react-email/container";

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

License

MIT License

Keywords

react

FAQs

Package last updated on 29 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts