# @wrnexus/ssr > Server-side rendering: wraps a page's HTML body in a complete HTML document with a metadata-driven ``. Part of the **WrNexus** framework — an SSR-first, Bun-native full-stack web framework. ## Overview Pages in WrNexus return an HTML string for the body. `@wrnexus/ssr` takes that body and produces a full HTML document — building the `` from page metadata and global SEO defaults, resolving canonical/Open Graph/Twitter tags, and injecting module preloads and ``, }); return new Response(html, { headers: { "content-type": "text/html; charset=utf-8" } }); ``` ## Requirements / Notes - **Server-only.** This module never imports or touches the DOM and is safe to keep out of client bundles. - **Depends on [`@wrnexus/core`](../core)** for `escapeHtml` and the `PageMeta` / `SeoConfig` types. - **Bun-only** — like the rest of WrNexus, this package targets the Bun runtime (Node is not supported).