mirror of
https://github.com/resend/react-email.git
synced 2026-09-14 14:18:02 +08:00
@react-email/head
Contains head components such as style and meta elements.
Install
Install component from your command line.
With yarn
yarn add @react-email/head -E
With npm
npm install @react-email/head -E
Getting started
Add the component to your email template. Include children tags where needed.
import { Head } from "@react-email/head";
const Email = () => {
return (
<Head>
<title>My email title</title>
</Head>
);
};
Support
This component was tested using the most popular email clients.
| Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
License
MIT License
