Skip to content
CtrlK

SidebarItem

On this page
import type { SidebarItem } from "ardo/config"

type SidebarItem = {
    text: string;
    link?: string;
    routePath?: string;
    publicPath?: string;
    versionId?: string;
    localeId?: string;
    icon?: "api" | "book" | "box" | "code" | "components" | "docs" | "guide" | "settings" | "tools";
    collapsed?: boolean;
    items?: SidebarItem[];
};

Properties

NameTypeRequired
textstringYes
linkstringNo
routePathstringNo
publicPathstringNo
versionIdstringNo
localeIdstringNo
icon"api" | "book" | "box" | "code" | "components" | "docs" | "guide" | "settings" | "tools"No
collapsedbooleanNo
itemsSidebarItem[]No