Document Stack
Document Stack
Docs

Headers & Footers

Add repeating headers and footers to multi-page documents with page numbers, logos, and document titles.

Overview

Headers and footers appear on every page of a multi-page document. Common uses include company logos, document titles, page numbers, confidentiality notices, and dates.

Creating a Header

  1. Position elements at the top of the first page
  2. Select the elements you want to repeat
  3. In the Inspector, enable "Repeat on all pages"
  4. The elements will now appear at the same position on every page

Typical Header Elements

  • Company logo — Image element, top-left, 80–100px wide
  • Document title — Text or field element, centered or right-aligned
  • Date — Field element bound to date
  • Separator line — Line element, full width, below the header content

Creating a Footer

  1. Position elements at the bottom of the first page
  2. Select and enable "Repeat on all pages"
  3. Leave enough margin in your page settings for the footer (40–60px bottom margin)

Typical Footer Elements

  • Page number — Field element, centered, e.g., "Page 1 of 5"
  • Company name — Small text, left-aligned
  • Confidentiality notice — Small italic text, centered
  • Separator line — Line element above footer text

Page Numbers

Use the built-in page number fields to automatically show the current page and total page count. These update dynamically for each generated PDF.

Layout Tips

  • Keep headers under 60px tall to leave room for content
  • Keep footers under 40px tall
  • Use a line element to visually separate headers/footers from body content
  • Use smaller font sizes (8–10px) for footer text
  • Ensure header/footer elements don't overlap with body content on any page

First Page Different

Some documents need a different header on the first page (e.g., a full letterhead on page 1, minimal header on subsequent pages):

  1. Create the full header on page 1 without "Repeat on all pages"
  2. Create a simpler header and mark it as repeating
  3. Position the repeating header so it only shows on pages 2+

Dynamic Content in Headers/Footers

Use field elements in headers and footers for dynamic content:

  • documentTitle — Document name
  • date — Generation date
  • clientName — Client or recipient name
  • referenceNumber — Invoice/contract number
Even though headers and footers repeat on every page, their field values are filled once from the API data — the same value appears on all pages.

Next Steps