Skip to content

Document and composition

Full pages, metadata, and fragment composition.

  • Page — Render a complete HTML document with safe head defaults and a body.
  • Fragment — Return several sibling nodes without adding a wrapper element.
  • Head — Compose explicit document-head children when building lower-level document output.
  • Title — Set the browser-tab and history-entry title.