Components
Navigation
The side navigation's items and group labels.
<nav class="nav">
<a class="nav-item" href="/runs" aria-current="page"><svg>…</svg>Sessions</a>
<a class="nav-item" href="/inbox"><svg>…</svg>Inbox<span class="counter">3</span></a>
<div class="nav-group-label">Admin</div>
…
</nav>
| Part | Value |
|---|---|
.nav-item |
14px muted text, 14px icons, 6px gap, 6×8px padding, 12px radius, 2px between items |
| Hover and current | aria-current="page": sidebar-accent fill, foreground text |
.nav-group-label |
12px medium muted, 16px above |
A section stays lit for all of its child pages. If a detail page is reached from two places, light the one the user came from.