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

This is the snapshot of v0.3.6, the current version, as recorded on 2026-11-10. The live page runs its examples →

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

1import { Page } from "@behivetech/templates.page";
2
3<Page>Content</Page>;

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, …).