> ## Documentation Index
> Fetch the complete documentation index at: https://vuemail.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Container

> A layout component that centers your content horizontally on a breaking point.

## Install

Install component from your command line.

```sh npm theme={null}
npm install @vuemaildev/vuemail -E
```

```sh yarn theme={null}
yarn add @vuemaildev/vuemail -E
```

```sh pnpm theme={null}
pnpm add @vuemaildev/vuemail -E
```

## Getting started

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

```vue theme={null}
<script setup lang="ts">
import { Button, Container } from '@vuemaildev/vuemail';
</script>

<template>
  <Container>
    <Button href="https://example.com" :style="{ color: '#42b883' }">
      Click me
    </Button>
  </Container>
</template>
```

## Props

**td-class** `string`

Classes for the inner cell of the container. Padding, from `style` or from Tailwind classes,
is applied to that cell instead of the table, for better compatibility with Outlook.

## Support

All components were tested using the most popular email clients.

![Gmail](https://vuemail.dev/static/icons/gmail.svg)

Gmail

![Apple Mail](https://vuemail.dev/static/icons/apple-mail.svg)

Apple Mail

![Outlook](https://vuemail.dev/static/icons/outlook.svg)

Outlook

![Yahoo! Mail](https://vuemail.dev/static/icons/yahoo-mail.svg)

Yahoo! Mail

![HEY](https://vuemail.dev/static/icons/hey.svg)

HEY

![Superhuman](https://vuemail.dev/static/icons/superhuman.svg)

Superhuman


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.