Skip to content
On this page

Heading

A block of heading text.

Usage

vue
<template>
  <e-heading as="h2">My heading</e-heading>
</template>

<script setup>
import { ESection, EText } from 'vue-email';
</script>
NametypedefaultDescription
asstringh1Render component as h1, h2, h3, h4, h5, h6
mstringA shortcut for margin CSS property.
mxstringA shortcut for margin-left and margin-right CSS properties.
mystringA shortcut for margin-top and margin-bottom CSS properties.
mtstringA shortcut for margin-top CSS property.
mrstringA shortcut for margin-right CSS property.
mbstringA shortcut for margin-bottom CSS property.
mlstringA shortcut for margin-left CSS property.

Released under the MIT License.