---
title: ContentView
description: >-
  HTML shown through a page's content components, from
  `BrowserScriptContext.mountContent`.
updated_at: '2026-11-12T12:04:45+01:00'
created_at: '2026-09-24T10:00:33+02:00'
symbol:
  kind: interface
  name: ContentView
  signatures:
    - interface ContentView
  members:
    - name: render
      kind: method
      signature: 'render(html: string): void'
      description: Show `html` in place of what shows.
    - name: destroy
      kind: method
      signature: 'destroy(): void'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/plugin/browser-scripts.ts#L20
---

# ContentView
