Skip to main content
Headers and footers that repeat on every page of a section.

Components

ComponentDescription
Section.HeaderContent at top of every page
Section.FooterContent at bottom of every page
PageNumberDynamic page number field

Basic usage

Header only

Both


Page numbers

The PageNumber component inserts dynamic page numbers.

Current page

Outputs: 1, 2, 3…

Total pages

Outputs the total page count.

Both (current of total)

Outputs: “Page 1 of 10”

Custom format

Outputs: “1 / 10”
Outputs: ”- 1 -“

Styling

Headers and footers support Tailwind classes.

Right-aligned header

Multiple lines


Header/footer spacing

Control distance from page edge with margin options:

Allowed content

Headers and footers can contain:
ComponentSupported
ParagraphYes
H1-H6Yes
TextYes
Bold, Italic, etc.Yes (inside Paragraph)
PageNumberYes
TableNo
ImageNo
ListNo

Common patterns

Document title + page number

Company branding

Left and right aligned (using tabs)


Different headers per section

Each section has its own header/footer. Use multiple sections for different headers:

Full example