chrome
@pdfcn-vue/page-numberPageNumber
Page number / total pages chrome. Uses Forme PAGE_NUMBER and TOTAL_PAGES constants.
Installation
Terminal
npx shadcn-vue@latest add @pdfcn-vue/page-numberUsage
Example
<PageNumber align="center" size="sm" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| align | 'left' | 'center' | 'right' | 'right' | Alignment within the footer band. |
| size | 'sm' | 'md' | 'sm' | Type size. |
Live preview
The gallery uses a shared document. Change its theme in the theme builder to compare tokens.
Source files
Need the full template?
See blocks for invoices and reports composed from these primitives.