Back to React Email

Column

apps/docs/components/column.mdx

0.0.15794 B
Original Source

import Support from '/snippets/support.mdx'

Install

Install component from your command line.

<CodeGroup>
sh
npm install @react-email/components -E

# or get the individual package

npm install @react-email/column -E
sh
yarn add @react-email/components -E

# or get the individual package

yarn add @react-email/column -E
sh
pnpm add @react-email/components -E

# or get the individual package

pnpm add @react-email/column -E
</CodeGroup>

Getting started

Add the component to your email template. Include styles where needed.

jsx
import { Column, Row } from "@react-email/components";

const Email = () => {
  return (
    <Row>
      <Column>A</Column>
      <Column>B</Column>
      <Column>C</Column>
    </Row>
  );
};
<Support />