Skip to main content
Sections are the top-level content containers of your document. Every document has a sections array containing one or more sections. Each section holds a content array of elements.

Flow section

The most common section type. Content flows across pages automatically.

Properties

Elements inside a flow section can use a pagination object:
Pagination behavior can vary by output format and element type. Inspect the rendered result for critical page breaks and grouped content.

Columns

Enable multi-column layout for a flow section.

Page section

A single positioned page — useful for cover pages, title pages, or any content that needs precise vertical positioning. Content does not flow to the next page.

Properties

Page sections are limited to a single page. If the content exceeds the page height, it will be clipped. Use flow sections for content that should span multiple pages.

Page background example

Semantic layout

Use a layout element when columns need independent content while remaining editable. This differs from flow-section columns: content does not automatically flow from one layout column into the next.

Semantic layout properties

Column width accepts fixed centimeters as a number, percentages such as \"35%\", fractional units such as \"1fr\", or \"auto\". Each column can define verticalAlign (top, center, bottom) and its own background, border, and padding. Semantic layout content remains editable in supported office-document outputs.

Fixed canvas

Use a canvas element for deliberately fixed compositions such as cover pages, certificates, or decorative title panels.

Canvas properties

Every item uses percentage-based x, y, width, and height. Common optional properties are id, rotation, opacity, and zIndex. Image items also support fit and focalPoint.
Individual canvas items remain editable in Autype but not in exported office documents. Form fields are not supported inside a canvas; use semantic layout for editable text and form controls.

Page break

Forces a page break at the current position. Optionally changes the page orientation for subsequent pages.
With orientation change:

Properties

Spacer

Adds vertical whitespace between elements.
The height can be specified as a number (line units) or a pixel string:

Properties

Complete example