---
title: SvartzNoteContent
description: >-
  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.
updated_at: '2026-10-14T21:20:08+02:00'
created_at: '2026-10-14T20:31:57+02:00'
symbol:
  kind: variable
  name: SvartzNoteContent
  signatures:
    - 'const SvartzNoteContent: Component'
  members:
    - name: pathname
      kind: property
      signature: 'pathname: string'
    - name: stylesheets
      kind: property
      signature: 'stylesheets: readonly string[]'
    - name: contentComponents
      kind: property
      signature: >-
        contentComponents?:
        [[reference/api/ui/runtime/ContentComponentOverrides|ContentComponentOverrides]]
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/ui/src/lib/runtime/SvartzNoteContent.svelte
---

# SvartzNoteContent
