![React Email Section cover](https://react.email/static/covers/section.png)
@react-email/section
Display a section that can be formatted using columns.

Website · GitHub · Discord
## Install Install component from your command line. #### With yarn ```sh yarn add @react-email/section -E ``` #### With npm ```sh npm install @react-email/section -E ``` ## Getting started Add the component to your email template. Include styles where needed. ```jsx import { Section } from '@react-email/section'; import { Column } from '@react-email/column'; import { Row } from '@react-email/row'; import { Text } from '@react-email/text'; const Email = () => { return ( {/* A simple `section` */}
Hello World
{/* Formatted with `rows` and `columns` */}
Column 1, Row 1 Column 2, Row 1 Column 1, Row 2 Column 2, Row 2
); }; ``` ## Support This component was tested using the most popular email clients. | Gmail logo | Apple Mail | Outlook logo | Yahoo! Mail logo | HEY logo | Superhuman logo | | -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | | Gmail ✔ | Apple Mail ✔ | Outlook ✔ | Yahoo! Mail ✔ | HEY ✔ | Superhuman ✔ | ## License MIT License