@react-email/section
Display a section that can be formatted using columns.
Install component from your command line.
yarn add @react-email/section -E
npm install @react-email/section -E
Add the component to your email template. Include styles where needed.
import { Section } from '@react-email/section';
import { Text } from '@react-email/text';
const Section = () => {
return (
<Section>
<Text>Hello World</Text>
<Section />
);
};
This component was tested using the most popular email clients.
Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ |
MIT License