Heading

Content blocks

Heading

An H1 to H4 heading with its own type scale.

Options#

  • Heading level (H1 to H4)
  • Font family, size, weight, color
  • Alignment, line height, padding
  • Merge tags

Heading levels in the output

The inspector offers H1 to H4, and the export writes that tag. A heading imported from Unlayer as H5 or H6 becomes H4, and any other value falls back to H1.

Defaults

A new heading is an h1 at 22px, weight 400, line height 140%, left aligned, in the body font (font_family: "body" inherits the email's font). Its color follows the theme's text token. In the output the weight is kept between 400 and 700 and the size never goes below 12px.

Accessibility and merge tags

The QA checks warn when a heading skips a level, such as an H3 straight after an H1. Merge tags in a heading are filled at export, the same way as in a Text block.