Skip to main content
SolidBase
Beta

Sidebar

The sidebar for the default theme is configured in the app config:

app.config.ts
import { defineConfig } from "@solidjs/start/config";
import { createWithSolidBase } from "@kobalte/solidbase";
export default defineConfig(
createWithSolidBase(theme)(
/* SolidStart options */
{
...
},
/* SolidBase options */
{
...
themeConfig: {
...
sidebar: {
"/guide": { // Route matching prefix
items: [
{
title: "Overview", // Group
collapsed: false,
items: [
{
title: "What is SolidBase?", // Item
link: "/",
},
{
title: "Getting Started",
link: "/getting-started",
},
...
],
},
{
title: "Features", // Second Group
collapsed: false,
items: [
{
title: "Markdown Extentions",
link: "/markdown",
},
...
],
},
...
],
},
"/reference": {
items: [
{
title: "Reference",
collapsed: false,
items: [
{
title: "Frontmatter Config",
link: "/frontmatter",
},
],
},
{
title: "Default Theme",
collapsed: false,
items: [
{
title: "Overview",
link: "/default-theme",
},
...
],
},
],
},
},
},
...
}
)
);
Edit this page on GitHub

Last updated: 11/15/24, 4:55 AM

SolidBaseFully featured, fully customisable static site generation for SolidStart
Community
githubdiscord