Skip to main content
Six heading levels for document structure. Automatically styled and included in Table of Contents.

Props


All levels

Default sizes: H1 (32pt), H2 (26pt), H3 (24pt), H4-H6 (22pt). All bold by default.

Styling

Override default styles with Tailwind:

Document-level styles

Configure heading styles globally via Document:

Table of Contents

Headings are automatically picked up by TableOfContents:
The TOC will list Introduction, Background, and Details with page numbers.

Bookmarks

Use id for internal document links:

Mixed content

Like Paragraph, headings can contain styled text:

Heading vs Paragraph

Use headings for structure. Use paragraphs for content.