Skip to content

Interface: VitePressSidebarItem

Minimal VitePress sidebar item shape used by generated API docs.

Signature

ts
export interface VitePressSidebarItem

Properties

NameTypeDescription
collapsed (optional)booleanWhether this item's nested children start collapsed.
items (optional)VitePressSidebarItem[]Nested sidebar items displayed below this item.
link (optional)stringVitePress route path opened when the sidebar item is selected.
text (optional)stringText label displayed in the VitePress sidebar.