Behive Tech Component Registry

Page

v0.3.5Stable

A document wrapper that sets the page `<title>` and `<meta name="description">` and wraps its children in one root element — no header, footer or layout regions.

pnpm add @behivetech/templates.page

A document wrapper that sets the page <title> and <meta name="description"> and wraps its children in one root element — no header, footer or layout regions.

Usage

Open in new tab

Properties

Page props

PropTypeDefaultDescription
childrenReactNode—Page content
classNamestring—Additional class names to merge with the component root element
descriptionstring—Meta description rendered into a `<meta name="description">` tag
titlestring—Document title rendered into a `<title>` tag

Also accepts the native attributes of its root element (className, aria-*, event handlers, …).