Files
klz-cables.com/.pnpm-store/v10/files/2d/756b0c6c17c3f75eacf23e0040d501fc7ec97bd4ec42978bba7804b26b201c026d85a65a3c29800316f32c3ef29ee85fcf856ed2ef53125e83848d74af0fa4
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

52 lines
1.0 KiB
Plaintext

![React Email container cover](https://react.email/static/covers/container.png)
<div align="center"><strong>@react-email/container</strong></div>
<div align="center">A layout component that centers all the email content.</div>
<br />
<div align="center">
<a href="https://react.email">Website</a>
<span> · </span>
<a href="https://github.com/resend/react-email">GitHub</a>
<span> · </span>
<a href="https://react.email/discord">Discord</a>
</div>
## Install
Install component from your command line.
#### With yarn
```sh
yarn add @react-email/container -E
```
#### With npm
```sh
npm install @react-email/container -E
```
## Getting started
Add the component to your email template. Include styles where needed.
```jsx
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