> ## 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.

# Heading

> A block of heading text.

## 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 { Heading } from '@vuemaildev/vuemail';
</script>

<template>
  <Heading as="h2">Lorem ipsum</Heading>
</template>
```

## Props

**as** `string` (default: h1)

Render component as `h1`, `h2`, `h3`, `h4`, `h5` or `h6`.

**m** `string`

A shortcut for `margin` CSS property.

**mx** `string`

A shortcut for `margin-left` and `margin-right` CSS properties.

**my** `string`

A shortcut for `margin-top` and `margin-bottom` CSS properties.

**mt** `string`

A shortcut for `margin-top` CSS property.

**mr** `string`

A shortcut for `margin-right` CSS property.

**mb** `string`

A shortcut for `margin-bottom` CSS property.

**ml** `string`

A shortcut for `margin-left` CSS property.

## 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.