# Ecommerce

> Components designed for eCommerce layouts, including product displays and card grids.

Web: https://react.email/components/ecommerce

Paste any snippet into an email built with React Email. The snippets use the primitives from `@react-email/components`.

## One product

Source: https://github.com/resend/react-email/tree/canary/apps/web/components/one-product

### Tailwind

```tsx
<Section className="my-[16px]">
  <Img
    alt="Braun Collection"
    className="w-full rounded-[12px] object-cover"
    height={320}
    src="/static/braun-collection.jpg"
  />
  <Section className="mt-[32px] text-center">
    <Text className="mt-[16px] font-semibold text-[18px] text-indigo-600 leading-[28px]">
      Classic Watches
    </Text>
    <Heading
      as="h1"
      className="font-semibold text-[36px] text-gray-900 leading-[40px] tracking-[0.4px]"
    >
      Elegant Comfort
    </Heading>
    <Text className="mt-[8px] text-[16px] text-gray-500 leading-[24px]">
      Dieter Rams’ work has an outstanding quality which distinguishes it from
      the vast majority of industrial design of the entire 20th Century.
    </Text>
    <Text className="font-semibold text-[16px] text-gray-900 leading-[24px]">
      $210.00
    </Text>
    <Button
      className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
      href="https://react.email"
    >
      Buy now
    </Button>
  </Section>
</Section>
```

### Inline styles

```tsx
<Section style={{ marginTop: 16, marginBottom: 16 }}>
  <Img
    alt="Braun Collection"
    height={320}
    src="/static/braun-collection.jpg"
    style={{
      width: '100%',
      borderRadius: 12,
      objectFit: 'cover',
    }}
  />
  <Section style={{ marginTop: 32, textAlign: 'center' }}>
    <Text
      style={{
        marginTop: 16,
        fontSize: 18,
        lineHeight: '28px',
        fontWeight: 600,
        color: 'rgb(79,70,229)',
      }}
    >
      Classic Watches
    </Text>
    <Heading
      as="h1"
      style={{
        fontSize: 36,
        lineHeight: '40px',
        fontWeight: 600,
        letterSpacing: 0.4,
        color: 'rgb(17,24,39)',
      }}
    >
      Elegant Comfort
    </Heading>
    <Text
      style={{
        marginTop: 8,
        fontSize: 16,
        lineHeight: '24px',
        color: 'rgb(107,114,128)',
      }}
    >
      Dieter Rams’ work has an outstanding quality which distinguishes it from
      the vast majority of industrial design of the entire 20th Century.
    </Text>
    <Text
      style={{
        fontSize: 16,
        lineHeight: '24px',
        fontWeight: 600,
        color: 'rgb(17,24,39)',
      }}
    >
      $210.00
    </Text>
    <Button
      href="https://react.email"
      style={{
        marginTop: 16,
        borderRadius: 8,
        backgroundColor: 'rgb(79,70,229)',
        paddingLeft: 24,
        paddingRight: 24,
        paddingTop: 12,
        paddingBottom: 12,
        fontWeight: 600,
        color: 'rgb(255,255,255)',
      }}
    >
      Buy now
    </Button>
  </Section>
</Section>
```

## One product with image on the left

Source: https://github.com/resend/react-email/tree/canary/apps/web/components/one-product-with-image-on-the-left

### Tailwind

```tsx
<Section className="my-[16px]">
  <table className="w-full">
    <tbody className="w-full">
      <tr className="w-full">
        <td className="box-border w-1/2 pr-[32px]">
          <Img
            alt="Braun Vintage"
            className="w-full rounded-[8px] object-cover"
            height={220}
            src="/static/braun-vintage.jpg"
          />
        </td>
        <td className="w-1/2 align-baseline">
          <Text className="m-0 mt-[8px] font-semibold text-[20px] text-gray-900 leading-[28px]">
            Great Timepiece
          </Text>
          <Text className="mt-[8px] text-[16px] text-gray-500 leading-[24px]">
            Renowned for their minimalist design and high functionality,
            celebrating the principles of simplicity and clarity.
          </Text>
          <Text className="mt-[8px] font-semibold text-[18px] text-gray-900 leading-[28px]">
            $120.00
          </Text>
          <Button
            className="w-3/4 rounded-[8px] bg-indigo-600 px-[16px] py-[12px] text-center font-semibold text-white"
            href="https://react.email"
          >
            Buy
          </Button>
        </td>
      </tr>
    </tbody>
  </table>
</Section>
```

### Inline styles

```tsx
<Section style={{ marginTop: 16, marginBottom: 16 }}>
  <table style={{ width: '100%' }}>
    <tbody style={{ width: '100%' }}>
      <tr style={{ width: '100%' }}>
        <td
          style={{
            width: '50%',
            paddingRight: 32,
            boxSizing: 'border-box',
          }}
        >
          <Img
            alt="Braun Vintage"
            height={220}
            src="/static/braun-vintage.jpg"
            style={{
              borderRadius: 8,
              width: '100%',
              objectFit: 'cover',
            }}
          />
        </td>
        <td style={{ width: '50%', verticalAlign: 'baseline' }}>
          <Text
            style={{
              margin: '0px',
              marginTop: 8,
              fontSize: 20,
              lineHeight: '28px',
              fontWeight: 600,
              color: 'rgb(17,24,39)',
            }}
          >
            Great Timepiece
          </Text>
          <Text
            style={{
              marginTop: 8,
              fontSize: 16,
              lineHeight: '24px',
              color: 'rgb(107,114,128)',
            }}
          >
            Renowned for their minimalist design and high functionality,
            celebrating the principles of simplicity and clarity.
          </Text>
          <Text
            style={{
              marginTop: 8,
              fontSize: 18,
              lineHeight: '28px',
              fontWeight: 600,
              color: 'rgb(17,24,39)',
            }}
          >
            $120.00
          </Text>
          <Button
            href="https://react.email"
            style={{
              width: '75%',
              borderRadius: 8,
              backgroundColor: 'rgb(79,70,229)',
              paddingTop: 12,
              paddingBottom: 12,
              paddingLeft: 16,
              paddingRight: 16,
              textAlign: 'center',
              fontWeight: 600,
              color: 'rgb(255,255,255)',
            }}
          >
            Buy
          </Button>
        </td>
      </tr>
    </tbody>
  </table>
</Section>
```

## Title + three cards in a row

Source: https://github.com/resend/react-email/tree/canary/apps/web/components/title-three-cards-in-a-row

### Tailwind

```tsx
<Section className="my-[16px]">
  <Row>
    <Text className="m-0 font-semibold text-[20px] text-gray-900 leading-[28px]">
      Timing Products
    </Text>
    <Text className="mt-[8px] text-[16px] text-gray-500 leading-[24px]">
      Dieter Rams consistently implemented his design principles over the
      course of over three decades as the Braun design leader.
    </Text>
  </Row>
  <ResponsiveRow className="mt-[16px]">
    <ResponsiveColumn className="py-[16px] pr-[4px] text-left">
      <Img
        alt="Braun Analogue Clock"
        className="w-full rounded-[8px] object-cover"
        height={180}
        src="/static/braun-analogue-clock.jpg"
      />
      <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
        Analogue Clock
      </Text>
      <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
        Thoughtful and simply designed.
      </Text>
      <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
        $40.00
      </Text>
      <Button
        className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
        href="https://react.email"
      >
        Buy
      </Button>
    </ResponsiveColumn>
    <ResponsiveColumn className="px-[4px] py-[16px] text-left">
      <Img
        alt="Braun Wall Clock"
        className="w-full rounded-[8px] object-cover"
        height={180}
        src="/static/braun-wall-clock.jpg"
      />
      <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
        Wall Clock
      </Text>
      <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
        The original easy to read dial layout.
      </Text>
      <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
        $45.00
      </Text>
      <Button
        className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
        href="https://react.email"
      >
        Buy
      </Button>
    </ResponsiveColumn>
    <ResponsiveColumn className="py-[16px] pl-[4px] text-left">
      <Img
        alt="Braun Classic Watch"
        className="w-full rounded-[8px] object-cover"
        height={180}
        src="/static/braun-classic-watch.jpg"
      />
      <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
        Classic Watch
      </Text>
      <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
        Functional, classic, and built to last.
      </Text>
      <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
        $210.00
      </Text>
      <Button
        className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
        href="https://react.email"
      >
        Buy
      </Button>
    </ResponsiveColumn>
  </ResponsiveRow>
</Section>
```

### Inline styles

```tsx
<Section style={{ marginTop: 16, marginBottom: 16 }}>
  <Row>
    <Text
      style={{
        margin: '0px',
        fontSize: 20,
        lineHeight: '28px',
        fontWeight: 600,
        color: 'rgb(17,24,39)',
      }}
    >
      Timing Products
    </Text>
    <Text
      style={{
        marginTop: 8,
        fontSize: 16,
        lineHeight: '24px',
        color: 'rgb(107,114,128)',
      }}
    >
      Dieter Rams consistently implemented his design principles over the
      course of over three decades as the Braun design leader.
    </Text>
  </Row>
  <ResponsiveRow style={{ marginTop: 16 }}>
    <ResponsiveColumn
      style={{
        textAlign: 'left',
        paddingRight: 4,
        paddingTop: 16,
        paddingBottom: 16,
      }}
    >
      <Img
        alt="Braun Analogue Clock"
        height={180}
        src="/static/braun-analogue-clock.jpg"
        style={{
          width: '100%',
          borderRadius: 8,
          objectFit: 'cover',
        }}
      />
      <Text
        style={{
          margin: '0px',
          marginTop: 24,
          fontSize: 20,
          lineHeight: '28px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        Analogue Clock
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 16,
          fontSize: 16,
          lineHeight: '24px',
          color: 'rgb(107,114,128)',
        }}
      >
        Thoughtful and simply designed.
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 8,
          fontSize: 16,
          lineHeight: '24px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        $40.00
      </Text>
      <Button
        href="https://react.email"
        style={{
          marginTop: 16,
          borderRadius: 8,
          backgroundColor: 'rgb(79,70,229)',
          paddingLeft: 24,
          paddingRight: 24,
          paddingTop: 12,
          paddingBottom: 12,
          fontWeight: 600,
          color: 'rgb(255,255,255)',
        }}
      >
        Buy
      </Button>
    </ResponsiveColumn>
    <ResponsiveColumn
      style={{
        textAlign: 'left',
        paddingRight: 4,
        paddingLeft: 4,
        paddingTop: 16,
        paddingBottom: 16,
      }}
    >
      <Img
        alt="Braun Wall Clock"
        height={180}
        src="/static/braun-wall-clock.jpg"
        style={{
          width: '100%',
          borderRadius: 8,
          objectFit: 'cover',
        }}
      />
      <Text
        style={{
          margin: '0px',
          marginTop: 24,
          fontSize: 20,
          lineHeight: '28px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        Wall Clock
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 16,
          fontSize: 16,
          lineHeight: '24px',
          color: 'rgb(107,114,128)',
        }}
      >
        The original easy to read dial layout.
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 8,
          fontSize: 16,
          lineHeight: '24px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        $45.00
      </Text>
      <Button
        href="https://react.email"
        style={{
          marginTop: 16,
          borderRadius: 8,
          backgroundColor: 'rgb(79,70,229)',
          paddingLeft: 24,
          paddingRight: 24,
          paddingTop: 12,
          paddingBottom: 12,
          fontWeight: 600,
          color: 'rgb(255,255,255)',
        }}
      >
        Buy
      </Button>
    </ResponsiveColumn>
    <ResponsiveColumn
      style={{
        paddingTop: 16,
        paddingBottom: 16,
        paddingLeft: 4,
        textAlign: 'left',
      }}
    >
      <Img
        alt="Braun Classic Watch"
        height={180}
        src="/static/braun-classic-watch.jpg"
        style={{
          width: '100%',
          borderRadius: 8,
          objectFit: 'cover',
        }}
      />
      <Text
        style={{
          margin: '0px',
          marginTop: 24,
          fontSize: 20,
          lineHeight: '28px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        Classic Watch
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 16,
          fontSize: 16,
          lineHeight: '24px',
          color: 'rgb(107,114,128)',
        }}
      >
        Functional, classic, and built to last.
      </Text>
      <Text
        style={{
          margin: '0px',
          marginTop: 8,
          fontSize: 16,
          lineHeight: '24px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        $210.00
      </Text>
      <Button
        href="https://react.email"
        style={{
          marginTop: 16,
          borderRadius: 8,
          backgroundColor: 'rgb(79,70,229)',
          paddingLeft: 24,
          paddingRight: 24,
          paddingTop: 12,
          paddingBottom: 12,
          fontWeight: 600,
          color: 'rgb(255,255,255)',
        }}
      >
        Buy
      </Button>
    </ResponsiveColumn>
  </ResponsiveRow>
</Section>
```

## Title + four cards

Source: https://github.com/resend/react-email/tree/canary/apps/web/components/title-four-cards

### Tailwind

```tsx
<Section className="my-[16px]">
  <Section>
    <Row>
      <Text className="m-0 font-semibold text-[20px] text-gray-900 leading-[28px]">
        Timing Products
      </Text>
      <Text className="mt-[8px] text-[16px] text-gray-500 leading-[24px]">
        Dieter Rams consistently implemented his design principles over the
        course of over three decades as the Braun design leader.
      </Text>
    </Row>
    <Row className="mt-[16px]">
      <Column align="left" className="w-1/2 pr-[8px]" colSpan={1}>
        <Img
          alt="Braun Wall Clock"
          className="w-full rounded-[8px] object-cover"
          height={250}
          src="/static/braun-wall-clock.jpg"
        />
        <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
          Wall Clock
        </Text>
        <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
          Easy to read dial layout.
        </Text>
        <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
          $45.00
        </Text>
        <Button
          className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
          href="https://react.email"
        >
          Buy
        </Button>
      </Column>
      <Column align="left" className="w-1/2 pl-[8px]" colSpan={1}>
        <Img
          alt="Braun Wireless Alarm"
          className="w-full rounded-[8px] object-cover"
          height={250}
          src="/static/braun-wireless-alarm.jpg"
        />
        <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
          Wireless Alarm
        </Text>
        <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
          Designed with a focus on function.
        </Text>
        <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
          $50.00
        </Text>
        <Button
          className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
          href="https://react.email"
        >
          Buy
        </Button>
      </Column>
    </Row>
  </Section>
  <Hr className="mx-0 my-[24px] w-full border border-gray-200 border-solid" />
  <Section>
    <Row>
      <Column align="left" className="w-1/2 pr-[8px]" colSpan={1}>
        <Img
          alt="Braun Classic Watch"
          className="w-full rounded-[8px] object-cover"
          height={250}
          src="/static/braun-classic-watch.jpg"
        />
        <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
          Classic Watch
        </Text>
        <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
          Functional, classic, and built to last.
        </Text>
        <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
          $210.00
        </Text>
        <Button
          className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
          href="https://react.email"
        >
          Buy
        </Button>
      </Column>
      <Column align="left" className="w-1/2 pl-[8px]" colSpan={1}>
        <Img
          alt="Braun Analogue Clock"
          className="w-full rounded-[8px] object-cover"
          height={250}
          src="/static/braun-analogue-clock.jpg"
        />
        <Text className="m-0 mt-[24px] font-semibold text-[20px] text-gray-900 leading-[28px]">
          Analogue Clock
        </Text>
        <Text className="m-0 mt-[16px] text-[16px] text-gray-500 leading-[24px]">
          Thoughtful and simply designed.
        </Text>
        <Text className="m-0 mt-[8px] font-semibold text-[16px] text-gray-900 leading-[24px]">
          $40.00
        </Text>
        <Button
          className="mt-[16px] rounded-[8px] bg-indigo-600 px-[24px] py-[12px] font-semibold text-white"
          href="https://react.email"
        >
          Buy
        </Button>
      </Column>
    </Row>
  </Section>
</Section>
```

### Inline styles

```tsx
<Section style={{ marginTop: 16, marginBottom: 16 }}>
  <Section>
    <Row>
      <Text
        style={{
          margin: '0px',
          fontSize: 20,
          lineHeight: '28px',
          fontWeight: 600,
          color: 'rgb(17,24,39)',
        }}
      >
        Timing Products
      </Text>
      <Text
        style={{
          marginTop: 8,
          fontSize: 16,
          lineHeight: '24px',
          color: 'rgb(107,114,128)',
        }}
      >
        Dieter Rams consistently implemented his design principles over the
        course of over three decades as the Braun design leader.
      </Text>
    </Row>
    <Row style={{ marginTop: 16 }}>
      <Column
        align="left"
        colSpan={1}
        style={{ width: '50%', paddingRight: 8 }}
      >
        <Img
          alt="Braun Wall Clock"
          height={250}
          src="/static/braun-wall-clock.jpg"
          style={{
            width: '100%',
            borderRadius: 8,
            objectFit: 'cover',
          }}
        />
        <Text
          style={{
            margin: '0px',
            marginTop: 24,
            fontSize: 20,
            fontWeight: 600,
            lineHeight: '28px',
            color: 'rgb(17,24,39)',
          }}
        >
          Wall Clock
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 16,
            fontSize: 16,
            lineHeight: '24px',
            color: 'rgb(107,114,128)',
          }}
        >
          Easy to read dial layout.
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 8,
            fontSize: 16,
            lineHeight: '24px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          $45.00
        </Text>
        <Button
          href="https://react.email"
          style={{
            marginTop: 16,
            borderRadius: 8,
            backgroundColor: 'rgb(79,70,229)',
            paddingLeft: 24,
            paddingRight: 24,
            paddingTop: 12,
            paddingBottom: 12,
            fontWeight: 600,
            color: 'rgb(255,255,255)',
          }}
        >
          Buy
        </Button>
      </Column>
      <Column
        align="left"
        colSpan={1}
        style={{ width: '50%', paddingLeft: 8 }}
      >
        <Img
          alt="Braun Wireless Alarm"
          height={250}
          src="/static/braun-wireless-alarm.jpg"
          style={{
            width: '100%',
            borderRadius: 8,
            objectFit: 'cover',
          }}
        />
        <Text
          style={{
            margin: '0px',
            marginTop: 24,
            fontSize: 20,
            lineHeight: '28px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          Wireless Alarm
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 16,
            fontSize: 16,
            lineHeight: '24px',
            color: 'rgb(107,114,128)',
          }}
        >
          Designed with a focus on function.
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 8,
            fontSize: 16,
            lineHeight: '24px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          $50.00
        </Text>
        <Button
          href="https://react.email"
          style={{
            marginTop: 16,
            borderRadius: 8,
            backgroundColor: 'rgb(79,70,229)',
            paddingLeft: 24,
            paddingRight: 24,
            paddingTop: 12,
            paddingBottom: 12,
            fontWeight: 600,
            color: 'rgb(255,255,255)',
          }}
        >
          Buy
        </Button>
      </Column>
    </Row>
  </Section>
  <Hr
    style={{
      marginLeft: '0px',
      marginRight: '0px',
      marginTop: 24,
      marginBottom: 24,
      width: '100%',
      borderWidth: 1,
      borderStyle: 'solid',
      borderColor: 'rgb(229,231,235)',
    }}
  />
  <Section>
    <Row>
      <Column
        align="left"
        colSpan={1}
        style={{ width: '50%', paddingRight: 8 }}
      >
        <Img
          alt="Braun Classic Watch"
          height={250}
          src="/static/braun-classic-watch.jpg"
          style={{
            width: '100%',
            borderRadius: 8,
            objectFit: 'cover',
          }}
        />
        <Text
          style={{
            margin: '0px',
            marginTop: 24,
            fontSize: 20,
            lineHeight: '28px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          Classic Watch
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 16,
            fontSize: 16,
            lineHeight: '24px',
            color: 'rgb(107,114,128)',
          }}
        >
          Functional, classic, and built to last.
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 8,
            fontSize: 16,
            lineHeight: '24px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          $210.00
        </Text>
        <Button
          href="https://react.email"
          style={{
            marginTop: 16,
            borderRadius: 8,
            backgroundColor: 'rgb(79,70,229)',
            paddingLeft: 24,
            paddingRight: 24,
            paddingTop: 12,
            paddingBottom: 12,
            fontWeight: 600,
            color: 'rgb(255,255,255)',
          }}
        >
          Buy
        </Button>
      </Column>
      <Column
        align="left"
        colSpan={1}
        style={{ width: '50%', paddingLeft: 8 }}
      >
        <Img
          alt="Braun Analogue Clock"
          height={250}
          src="/static/braun-analogue-clock.jpg"
          style={{
            width: '100%',
            borderRadius: 8,
            objectFit: 'cover',
          }}
        />
        <Text
          style={{
            margin: '0px',
            marginTop: 24,
            fontSize: 20,
            lineHeight: '28px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          Analogue Clock
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 16,
            fontSize: 16,
            lineHeight: '24px',
            color: 'rgb(107,114,128)',
          }}
        >
          Thoughtful and simply designed.
        </Text>
        <Text
          style={{
            margin: '0px',
            marginTop: 8,
            fontSize: 16,
            lineHeight: '24px',
            fontWeight: 600,
            color: 'rgb(17,24,39)',
          }}
        >
          $40.00
        </Text>
        <Button
          href="https://react.email"
          style={{
            marginTop: 16,
            borderRadius: 8,
            backgroundColor: 'rgb(79,70,229)',
            paddingLeft: 24,
            paddingRight: 24,
            paddingTop: 12,
            paddingBottom: 12,
            fontWeight: 600,
            color: 'rgb(255,255,255)',
          }}
        >
          Buy
        </Button>
      </Column>
    </Row>
  </Section>
</Section>
```

## Checkout

Source: https://github.com/resend/react-email/tree/canary/apps/web/components/checkout

### Tailwind

```tsx
<Section className="py-[16px] text-center">
  <Heading as="h1" className="mb-0 font-semibold text-[30px] leading-[36px]">
    You left something in your cart
  </Heading>
  <Section className="my-[16px] rounded-[8px] border border-gray-200 border-solid p-[16px] pt-0">
    <table className="mb-[16px]" width="100%">
      <tr>
        <th className="border-0 border-gray-200 border-b border-solid py-[8px]">
          &nbsp;
        </th>
        <th
          align="left"
          className="border-0 border-gray-200 border-b border-solid py-[8px] text-gray-500"
          colSpan={6}
        >
          <Text className="font-semibold">Product</Text>
        </th>
        <th
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px] text-gray-500"
        >
          <Text className="font-semibold">Quantity</Text>
        </th>
        <th
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px] text-gray-500"
        >
          <Text className="font-semibold">Price</Text>
        </th>
      </tr>
      <tr>
        <td className="border-0 border-gray-200 border-b border-solid py-[8px]">
          <Img
            alt="Braun Classic Watch"
            className="rounded-[8px] object-cover"
            height={110}
            src="/static/braun-classic-watch.jpg"
          />
        </td>
        <td
          align="left"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
          colSpan={6}
        >
          <Text>Classic Watch</Text>
        </td>
        <td
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
        >
          <Text>1</Text>
        </td>
        <td
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
        >
          <Text>$210.00</Text>
        </td>
      </tr>
      <tr>
        <td className="border-0 border-gray-200 border-b border-solid py-[8px]">
          <Img
            alt="Braun Analogue Clock"
            className="rounded-[8px] object-cover"
            height={110}
            src="/static/braun-analogue-clock.jpg"
          />
        </td>
        <td
          align="left"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
          colSpan={6}
        >
          <Text>Analogue Clock</Text>
        </td>
        <td
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
        >
          <Text>1</Text>
        </td>
        <td
          align="center"
          className="border-0 border-gray-200 border-b border-solid py-[8px]"
        >
          <Text>$40.00</Text>
        </td>
      </tr>
    </table>
    <Row>
      <Column align="center">
        <Button
          className="box-border w-full rounded-[8px] bg-indigo-600 px-[12px] py-[12px] text-center font-semibold text-white"
          href="https://react.email"
        >
          Checkout
        </Button>
      </Column>
    </Row>
  </Section>
</Section>
```

### Inline styles

```tsx
<Section style={{ paddingTop: 16, paddingBottom: 16, textAlign: 'center' }}>
  <Heading
    as="h1"
    style={{
      fontSize: 30,
      lineHeight: '36px',
      marginBottom: '0px',
      fontWeight: 600,
    }}
  >
    You left something in your cart
  </Heading>
  <Section
    style={{
      padding: 16,
      paddingTop: '0px',
      marginTop: 16,
      marginBottom: 16,
      borderRadius: 8,
      borderWidth: 1,
      borderStyle: 'solid',
      borderColor: 'rgb(229,231,235)',
    }}
  >
    <table style={{ marginBottom: 16 }} width="100%">
      <tr>
        <th
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          &nbsp;
        </th>
        <th
          align="left"
          colSpan={6}
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            color: 'rgb(107,114,128)',
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text style={{ fontWeight: 600 }}>Product</Text>
        </th>
        <th
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            color: 'rgb(107,114,128)',
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text style={{ fontWeight: 600 }}>Quantity</Text>
        </th>
        <th
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            color: 'rgb(107,114,128)',
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text style={{ fontWeight: 600 }}>Price</Text>
        </th>
      </tr>
      <tr>
        <td
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Img
            alt="Braun Classic Watch"
            height={110}
            src="/static/braun-classic-watch.jpg"
            style={{
              objectFit: 'cover',
              borderRadius: 8,
            }}
          />
        </td>
        <td
          align="left"
          colSpan={6}
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>Classic Watch</Text>
        </td>
        <td
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>1</Text>
        </td>
        <td
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>$210.00</Text>
        </td>
      </tr>
      <tr>
        <td
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Img
            alt="Braun Analogue Clock"
            height={110}
            src="/static/braun-analogue-clock.jpg"
            style={{
              objectFit: 'cover',
              borderRadius: 8,
            }}
          />
        </td>
        <td
          align="left"
          colSpan={6}
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>Analogue Clock</Text>
        </td>
        <td
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>1</Text>
        </td>
        <td
          align="center"
          style={{
            paddingTop: 8,
            paddingBottom: 8,
            borderWidth: '0px',
            borderBottomWidth: 1,
            borderStyle: 'solid',
            borderColor: 'rgb(229,231,235)',
          }}
        >
          <Text>$40.00</Text>
        </td>
      </tr>
    </table>
    <Row>
      <Column align="center">
        <Button
          href="https://react.email"
          style={{
            width: '100%',
            boxSizing: 'border-box',
            paddingLeft: 12,
            paddingRight: 12,
            borderRadius: 8,
            textAlign: 'center',
            backgroundColor: 'rgb(79,70,229)',
            paddingTop: 12,
            paddingBottom: 12,
            fontWeight: 600,
            color: 'rgb(255,255,255)',
          }}
        >
          Checkout
        </Button>
      </Column>
    </Row>
  </Section>
</Section>
```
