Sidebar #
Renders grouped navigation sections from content/sidebar.json.
Data dependencies #
sections[].titlesections[].collapsiblesections[].items[].titlesections[].items[].path
Live example #
Code #
mdx
<SidebarcurrentPath="/guides/components/index"sidebarConfig={{sections: [{title: 'Components',collapsible: true,items: [{ title: 'Card', path: '/guides/components/card' }],},],}}/>
Notes #
- Supports section collapsing when enabled.
- Primary nav source for deep docs structures.