Sidebar
Sidebar configuration
Properties
groupstringpagestringtitlestringpagesarray of PageURLSourcePageSourcePagepagestringRequiredsourcestringRequiredtitlestringcontextControlsContextControlsSidebarSidebargroupstringpagestringtitlestringpagesarray of PageURLiconstringexpandedbooleanorderOrderasTocSidebarAsTocOptionsSidebarAsTocOptionsindicatorbooleanbreadcrumbsbooleanbooleanbooleanComponentPageComponentPagefixedbooleancomponentRequiredComponentPageImportComponentPageImportimportstringRequiredpropsRecord<string, any>stringstringstringstringVirtualPageVirtualPageiconstringexpandedbooleanorderOrderasTocSidebarAsTocOptionsSidebarAsTocOptionsindicatorbooleanbreadcrumbsbooleanbooleanboolean
Label for a entry — a page reference with no group and no
pages . It overrides the page's frontmatter title, and is the only way to label a route that has no markdown behind it, such as a generated API reference: without it the sidebar row renders blank.
Treat this group's pages as a table of contents instead of real pages. Their markdown files are NOT routable (no routes, no prerender) — the content of every page is injected as a section into the enclosing route's index page, sidebar items scroll to those sections (with scroll-spy active marking), and the right-hand TOC is hidden on that composed page.
true enables it with defaults; the object form tunes behaviors (all default to enabled).
Behavior options for an asToc sidebar group (the object form). Every option defaults to true — asToc: true ≡ asToc: .
TOC-style visual indicator on the group's sidebar items (the vertical track line the right-hand TOC uses). Default true .
Breadcrumbs on the composed host page that follow the section being read (group name / section title, updated by scroll). Default true .
Show your support! Star us on GitHub ⭐️