Skip to main content
Dynamic page number field.

Props


Types

Current page

Outputs: 1, 2, 3…

Total pages

Outputs the total page count.

Both

Outputs: “Page 1 of 10”

Custom format

Use {current} and {total} placeholders:

Usage

PageNumber is typically used inside headers or footers:
Can also be used in regular content:

Common patterns

Page X of Y

With document title

Styled page number

Right-aligned