---
title: ShellState
description: >-
  Everything minimal works out once per page and hands to every region, so a
  theme that swaps a region keeps minimal's behaviour.
updated_at: '2026-11-11T10:16:38+01:00'
created_at: '2026-10-27T19:43:15+01:00'
symbol:
  kind: interface
  name: ShellState
  signatures:
    - >-
      interface ShellState extends
      [[reference/api/ui/ThemePageProps|ThemePageProps]]
  extends:
    - '[[reference/api/ui/ThemePageProps|ThemePageProps]]'
  members:
    - name: vault
      kind: property
      signature: 'readonly vault: [[reference/api/core/VaultView|VaultView]]'
    - name: homeHref
      kind: property
      signature: 'readonly homeHref: string'
    - name: currentHref
      kind: property
      signature: 'readonly currentHref: string'
    - name: tree
      kind: property
      signature: >-
        readonly tree: readonly
        [[reference/api/ui/ExplorerNode|ExplorerNode]]<[[reference/api/core/IndexEntry|IndexEntry]]>[]
      description: 'The explorer tree, with renderer rows and `order` applied.'
    - name: trail
      kind: property
      signature: 'readonly trail: readonly string[]'
      description: 'Explorer folder ids above the current page, outermost first.'
    - name: toc
      kind: property
      signature: 'readonly toc: readonly [[reference/api/core/TocEntry|TocEntry]][]'
    - name: previous
      kind: property
      signature: >-
        readonly previous?:
        [[reference/api/theme-minimal/runtime/ReadingStop|ReadingStop]]
    - name: next
      kind: property
      signature: >-
        readonly next?:
        [[reference/api/theme-minimal/runtime/ReadingStop|ReadingStop]]
    - name: page
      kind: property
      signature: >-
        readonly page?:
        [[reference/api/theme-minimal/runtime/PageChoice|PageChoice]]
      description: >-
        The theme and renderer this page renders with, when it isn't a plain
        note.
    - name: headed
      kind: property
      signature: 'readonly headed: boolean'
      description: >-
        A renderer or a theme's `note` renders this page's head, so page-head
        regions show breadcrumbs only.
    - name: pages
      kind: property
      signature: >-
        readonly pages:
        ReadonlyMap<[[reference/api/core/IndexEntry|IndexEntry]],
        [[reference/api/theme-minimal/runtime/PageChoice|PageChoice]]>
      description: >-
        Every page's choice in the vault, for renderers that link across pages
        (schemas).
    - name: chrome
      kind: property
      signature: >-
        readonly chrome:
        Required<[[reference/api/theme-minimal/runtime/ThemeChrome|ThemeChrome]]>
    - name: drawer
      kind: property
      signature: 'readonly drawer: boolean'
      description: Whether the phone drawer is open.
    - name: toggleDrawer
      kind: method
      signature: 'readonly toggleDrawer(): void'
    - name: reader
      kind: property
      signature: 'readonly reader: boolean'
      description: Reader mode dims the side columns.
    - name: toggleReader
      kind: method
      signature: 'readonly toggleReader(): void'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/themes/minimal/src/lib/extension.ts#L29
---

# ShellState
