# Sidebar Navigation Vertical navigation for app sidebars with collapsible sections. Uses native `
`/`` for expand/collapse. ## Example ```html ``` ## Active State Mark the current page with `aria-current="page"`: ```html Issues ``` Or use `.active` class on nested links: ```html
Cycles Current
``` ## Sub-Items Without Collapsible Wrapper Use `.sub` class for indented top-level links: ```html ``` ## With Icons ```html ``` Icons are automatically sized to `20px` (customizable via `--sidebar-nav-icon-size`). ## CSS Variables - `--sidebar-nav-icon-size` - Icon size (default: 20px) - `--sidebar-nav-indent` - Indentation for nested items (default: 1.5rem) ## App Shell Pattern Combine with `.layout-sidebar.fill` for a full app shell: ```html
``` ## See Also - [Layouts](https://graffiti-ui.com/llms/layouts.txt) - Page layout options - [Dropdown](https://graffiti-ui.com/llms/dropdown.txt) - Popover-based menus