apps/docs/components/row.mdx
import Support from '/snippets/support.mdx'
Install component from your command line.
<CodeGroup>npm install @react-email/components -E
# or get the individual package
npm install @react-email/row -E
yarn add @react-email/components -E
# or get the individual package
yarn add @react-email/row -E
pnpm add @react-email/components -E
# or get the individual package
pnpm add @react-email/row -E
Add the component to your email template. Include styles where needed.
import { Row, Column, Section } from "@react-email/components";
const Email = () => {
return (
<Section>
<Row>
<Column>A</Column>
</Row>
<Row>
<Column>B</Column>
</Row>
<Row>
<Column>C</Column>
</Row>
</Section>
);
};