Vue Email Logo
Components

Container

A layout component that centers all the email content.

Install

Install component from your command line.

pnpm add @vue-email/components
# or get the individual package
pnpm add @vue-email/container

Getting started

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

<script setup lang="ts">
import { Container, Button } from '@vue-email/components'
</script>

<template>
  <Container>
    <Button href="https://example.com" style="color: #61dafb;">
      Click me
    </Button>
  </Container>
</template>

Copyright © 2024