Side navigation
Navigate between related pages in a section.
Recommended API
| Property or element | Type | Example initial value | Description |
|---|---|---|---|
aria-label | Text | Theme navigation | Identify this group of related destinations. |
href | URL | Per link | Set the destination for each listed section. |
States
| State | Trigger | Result |
|---|---|---|
navigated | Follow a link. | The visitor moves to the selected section. |
CSS variables
| Variable | Type | Default | Description |
|---|---|---|---|
--q-text | color | #28302a | Main text and foreground color. |
--q-muted | color | #70776f | Color for secondary text. |
--q-font-size | length | 13px | Base size for the component text. |
--q-accent | color | #344e41 | Accent for active controls, indicators and focus. |
--q-border | color | #dce0d8 | Color for outlines and dividers. |
--q-gap | length | calc(var(--q-space) * 2) | Space between items, based on the spacing unit. |
--q-control-px | length | calc(var(--q-space) * 4) | Horizontal padding for controls. |
--q-control-py | length | calc(var(--q-space) * 2.5) | Vertical padding for controls. |
--q-space | length | 4px | Base unit for gaps and padding. |