Skip to main content

Page Header

A starter running header: a title on the left and a reference on the right, placed in a header for the whole document or for one section.

  • Two columns. The title on the left in bold phTitle and the reference on the right in phRef, in two equal halves.
  • Placed in a header. A use in a header's content, at the document's root or on a section break; the header keeps its own offset and rule.
  • Two params. title and reference; a section's header passes that section's name.
  • A logo variant. page-header-logo puts an image named logo on the left and a title over detail and reference on the right.

Place it in a header's content, at the document's root or on a section break; the header keeps its own offset and rule:

{ "header": { "content": [ { "use": { "name": "page-header", "params": { "title": "Meridian Capital Partners", "reference": "Holdings" } } } ], "hr": { "borderStyle": "solid", "height": 0.5, "color": "#CBD5E1" } } }
ParamWhat it fills
titlethe left side
referencethe right side

Restyle it with phTitle and phRef. The Composed Report places it three times: once for the document, and again on two section breaks with each section's name. See Sections and Customizing a component.

Variants​

ComponentWhat differsUsed by
page-header-logoa logo on the left (an image named logo), and on the right a title over two lines, detail and reference. Restyle with phlTitle and phlDetail.Hybrid e-invoice

Features used: columns, data binding

The component on a sheet of its ownTry in Playground →