Installation
$ pnpm dlx shadcn@latest add @pdfcn/forme/page-footer
Usage
import { PageFooter } from "@/components/pdf/page-footer";<PageFooter leftText="pdfcn" rightText="Confidential" />API Reference
PageFooter
| Prop | Type | Default |
|---|---|---|
leftText | string | - |
rightText | string | - |
centerText | string | - |
variant | 'simple' | 'centered' | 'branded' | 'minimal' | 'three-column' | 'detailed' | 'simple' |
background | string | - |
textColor | string | - |
marginTop | number | - |
address | string | - |
phone | string | - |
email | string | - |
website | string | - |
fixed | boolean | false |
sticky | boolean | false |
pagePadding | number | 0 |
noWrap | boolean | true |