---
title: '@svartz/theme-minimal/runtime'
description: The `@svartz/theme-minimal/runtime` entry point.
updated_at: '2026-11-11T10:16:38+01:00'
---

# @svartz/theme-minimal/runtime

## Classes

- [ThemeSelectionError](https://svartz.dev/reference/api/theme-minimal/runtime/themeselectionerror.md)

## Interfaces

- [Composition](https://svartz.dev/reference/api/theme-minimal/runtime/composition.md) — A composed site's themes: the first styles the site; all of them render pages.
- [FrameProps](https://svartz.dev/reference/api/theme-minimal/runtime/frameprops.md) — A frame lays out the regions; minimal's is three columns.
- [PageChoice](https://svartz.dev/reference/api/theme-minimal/runtime/pagechoice.md) — The theme that renders a page, and the renderer and data when one of its renderers claimed the page. Plain notes in the primary theme have no choice.
- [PageRenderer](https://svartz.dev/reference/api/theme-minimal/runtime/pagerenderer.md) — Renders one kind of page, chosen from the page's frontmatter: an endpoint from `operation`, a symbol from `symbol`, a wiki article from `infobox`.
- [ReadingStop](https://svartz.dev/reference/api/theme-minimal/runtime/readingstop.md) — A stop in reading order: a folder's page, or a note.
- [RegionProps](https://svartz.dev/reference/api/theme-minimal/runtime/regionprops.md)
- [RendererProps](https://svartz.dev/reference/api/theme-minimal/runtime/rendererprops.md)
- [ShellState](https://svartz.dev/reference/api/theme-minimal/runtime/shellstate.md) — Everything minimal works out once per page and hands to every region, so a theme that swaps a region keeps minimal's behaviour.
- [ThemeBuildExtension](https://svartz.dev/reference/api/theme-minimal/runtime/themebuildextension.md) — The Node-safe part of an extension, for the build: no components.
- [ThemeChrome](https://svartz.dev/reference/api/theme-minimal/runtime/themechrome.md) — Minimal's optional furniture.
- [ThemeExtension](https://svartz.dev/reference/api/theme-minimal/runtime/themeextension.md) — 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.

## Types

- [ListPageName](https://svartz.dev/reference/api/theme-minimal/runtime/listpagename.md) — The list pages a theme can provide; each receives the usual page props.
- [RegionName](https://svartz.dev/reference/api/theme-minimal/runtime/regionname.md)

## Functions

- [choosePage](https://svartz.dev/reference/api/theme-minimal/runtime/choosepage.md) — The theme and renderer for a page. The page's own `theme:` wins, then the nearest folder note's (`folderNotes`, nearest first), then whichever renderer detects the page from its frontmatter. A page none of that picks is a plain note in the primary theme, and gets `undefined`.
- [composeThemes](https://svartz.dev/reference/api/theme-minimal/runtime/composethemes.md) — A runtime manifest that composes themes on minimal's shell. The first theme styles the site; each page renders with the theme that claims it.
- [compositionOf](https://svartz.dev/reference/api/theme-minimal/runtime/compositionof.md) — The composition a runtime manifest carries; minimal alone for any other manifest.
- [definePageRenderer](https://svartz.dev/reference/api/theme-minimal/runtime/definepagerenderer.md) — Keeps a renderer's data type flowing from `detect` to its components.
- [folderTheme](https://svartz.dev/reference/api/theme-minimal/runtime/foldertheme.md) — The theme that lists a folder's page: the folder note's `theme:`, then its ancestors' (`folderNotes`, nearest first), then the primary theme.
- [theme](https://svartz.dev/reference/api/theme-minimal/runtime/theme.md) — Vite-bundled runtime manifest. Lazy entries load before SSR and hydration.

## Variables

- [extensions](https://svartz.dev/reference/api/theme-minimal/runtime/extensions.md) — Minimal's own extension: the base every theme extends.
- [minimalExtension](https://svartz.dev/reference/api/theme-minimal/runtime/minimalextension.md) — Minimal itself: the extension every composition falls back to.

## Re-exports

- [BadgeHue](https://svartz.dev/reference/api/ui/badgehue.md)
- [ExplorerItem](https://svartz.dev/reference/api/ui/exploreritem.md)
- [ThemeIdentity](https://svartz.dev/reference/api/theme-minimal/themeidentity.md)
- [default](https://svartz.dev/reference/api/theme-minimal/runtime/theme.md)
