docs/components/layout/DocumentPage

DocumentPage

A4/letter page container with margin simulation.

import { DocumentPage } from '@ybouhjira/hyperkit';

Static examples

This component depends on app-level context (providers, services, or interactive setup) that does not fit the inline playground yet, so its examples are shown as static code.

#Props

PropTypeDefaultDescription
size'a4' | 'letter'
orientation'portrait' | 'landscape'
paddingstring
children *JSX.Element
headerJSX.Element
footerJSX.Element
pageNumbernumber
styleJSX.CSSProperties

* required prop.