Page
v0.3.5StableA 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.
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
Examples
Open all 1 →Properties
Page props
| Prop | Type | Default | Description |
|---|---|---|---|
children | ReactNode | — | Page content |
className | string | — | Additional class names to merge with the component root element |
description | string | — | Meta description rendered into a `<meta name="description">` tag |
title | string | — | Document title rendered into a `<title>` tag |
Also accepts the native attributes of its root element (className, aria-*, event handlers, …).