---
title: '@svartz/ui/runtime'
description: The `@svartz/ui/runtime` entry point.
updated_at: '2026-11-19T04:22:17+01:00'
---

# @svartz/ui/runtime

## Types

- [ContentComponentOverrides](https://svartz.dev/reference/api/ui/runtime/contentcomponentoverrides.md)
- [ContentComponents](https://svartz.dev/reference/api/ui/runtime/contentcomponents.md)
- [ContentComponentSlot](https://svartz.dev/reference/api/ui/runtime/contentcomponentslot.md)

## Functions

- [noteStylesheets](https://svartz.dev/reference/api/ui/runtime/notestylesheets.md) — Stylesheet URLs for a host note route. Call it in the route's server `load` (`+page.server.ts`): it prepares the vault itself, and `hostStylesheets` is empty in the browser, so serialized server data must carry the SSR list.

## Variables

- [default](https://svartz.dev/reference/api/ui/runtime/default.md)
- [SvartzNoteContent](https://svartz.dev/reference/api/ui/runtime/svartznotecontent.md) — Renders one published note's body inside a host-owned page. The route's universal `load` must have awaited `prepareHostVault(pathname)` first. `stylesheets` comes from `await noteStylesheets(pathname)` in the route's server `load` (`+page.server.ts`); the helper prepares the vault itself, and only serialized server data keeps the SSR links because a universal `load` reruns in the browser where the registry is empty. For a pathname that is not a published note (or a vault that was not prepared) it renders nothing.
- [SvartzPluginPage](https://svartz.dev/reference/api/ui/runtime/svartzpluginpage.md)

## Re-exports

- [decodeRoutePath](https://svartz.dev/reference/api/core/decoderoutepath.md)
- [ContentComponentProps](https://svartz.dev/reference/api/ui/contentcomponentprops.md)
