---
title: ThemeExtension
description: >-
  What a theme adds to theme-minimal. Everything is optional: minimal itself is
  the empty extension. In a composition the first extension's frame, regions,
  list pages, and chrome style the site; every extension's renderers render
  pages.
updated_at: '2026-11-11T10:16:38+01:00'
created_at: '2026-10-27T19:43:15+01:00'
symbol:
  kind: interface
  name: ThemeExtension
  signatures:
    - interface ThemeExtension
  members:
    - name: id
      kind: property
      signature: 'readonly id: string'
      description: 'The package name, which `theme:` frontmatter can name.'
    - name: name
      kind: property
      signature: 'readonly name?: string'
      description: 'A short name `theme:` frontmatter can use: `wiki`, `api-docs`.'
    - name: displayName
      kind: property
      signature: 'readonly displayName?: string'
    - name: description
      kind: property
      signature: 'readonly description?: string'
    - name: version
      kind: property
      signature: 'readonly version?: string'
    - name: frame
      kind: property
      signature: >-
        readonly frame?:
        Component<[[reference/api/theme-minimal/runtime/FrameProps|FrameProps]],
        {}, string>
    - name: regions
      kind: property
      signature: >-
        readonly regions?:
        Partial<Record<[[reference/api/theme-minimal/runtime/RegionName|RegionName]],
        Component<[[reference/api/theme-minimal/runtime/RegionProps|RegionProps]],
        {}, string>>>
    - name: renderers
      kind: property
      signature: >-
        readonly renderers?: readonly
        [[reference/api/theme-minimal/runtime/PageRenderer|PageRenderer]]<unknown>[]
    - name: note
      kind: property
      signature: >-
        readonly note?:
        Component<[[reference/api/theme-minimal/runtime/RendererProps|RendererProps]]<undefined>,
        {}, string>
      description: >-
        Renders a plain note the theme's way: every unclaimed note for the
        primary theme, else notes whose `theme:` names this one.
    - name: pages
      kind: property
      signature: >-
        readonly pages?:
        Partial<Record<[[reference/api/theme-minimal/runtime/ListPageName|ListPageName]],
        Component<[[reference/api/ui/ThemePageProps|ThemePageProps]], {},
        string>>>
      description: >-
        List pages; the primary theme's apply, a folder's from its folder note's
        `theme:`. `notFound` is the primary theme's 404.
    - name: chrome
      kind: property
      signature: >-
        readonly chrome?:
        [[reference/api/theme-minimal/runtime/ThemeChrome|ThemeChrome]]
    - name: components
      kind: property
      signature: >-
        readonly components?: Readonly<Record<string, Component<{}, {},
        string>>>
      description: 'Content components (`callout`, `codeBlock`, …) this theme overrides.'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/themes/minimal/src/lib/extension.ts#L138
---

# ThemeExtension
