@react-email/heading
A block of heading text.
Install component from your command line.
yarn add @react-email/heading -E
npm install @react-email/heading -E
Add the component to your email template. Include styles where needed.
import { Heading } from '@react-email/heading';
const Email = () => {
return <Heading as="h1">Lorem ipsum</Heading>;
};
This component was tested using the most popular email clients.
Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
MIT License