Layout Components
You can customize the report layout by using special layout components. These components give you fine grained control over pagination and element positioning.
PageBreak
The PageBreak component forces a page break and pushes any subsequent content to the beginning of the next page in your document.
- Vanilla | Zero
 - React
 
<div data-pz-page-break></div>
<PageBreak />
Recipe
Valid Parent
Direct or indirect child of PageContent
Layout
The Layout component allows you to customize the pagination engine’s behavior for the element and its children.
The available values are described in LayoutOptions. All props/attributes are optional and follow this order of precedence:
- Props defined on this component (highest priority)
 - Props inherited from the nearest parent component
 - Global configuration provided to Section
 
- Vanilla | Zero
 - React
 
<p
    data-pz-hyphen="-"
    data-pz-keep-on-same-page="true"
    data-pz-hyphenation-enabled="true"
>
    ...
</p>
<Layout hyphen={'-'} keepOnSamePage={true} hyphenationEnabled={true}>
    <p>...</p>
</Layout>
Recipe
Valid Parent
Direct or indirect child of PageContent