Header
Takes a block
Repeated at the top of every PDF page (or those on: names), where page and pages are the page's number and the count; a <header> on the web.
Header(on: …) { … }
Example
Header { Text("Company Inc.").muted.sm }
Renders with the class wf-header, stable across releases, so a stylesheet may target it.
| Prop | Type | Meaning |
|---|---|---|
| on: | .all .first .rest .odd .even |
Which pages it is drawn on |
Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.
On this entry
Generated, not written
This page comes from the compiler's registry. Edit the registry, not the page — a prop added there shows up here on the next release.
wf registry --json