--- title: "Section" sidebarTitle: "Section" description: "Display a section that can also be formatted using rows and columns." "og:image": "https://react.email/static/covers/section.png" icon: "rectangles-mixed" --- import Support from '/snippets/support.mdx' ## Install Install component from your command line. ```sh npm npm install react-email -E ``` ```sh yarn yarn add react-email -E ``` ```sh pnpm pnpm add react-email -E ``` ## Getting started Add the component to your email template. Include styles where needed. ```jsx import { Section, Column, Row, Text } from "react-email"; 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
); }; ```