Navigation
Use native links, nav and details elements with GDK classes. No custom Astro component is required.
Sidebar
Sidebar sections stay visible. Give the sidebar a bounded height; its navigation scrolls while the surrounding content stays in place.
<aside class="gp-sidebar">
<nav class="gp-sidebar-nav" aria-label="App navigation">
<section class="gp-nav-section">
<h3>Workspace</h3>
<div class="gp-nav-links">
<a class="gp-nav-link" href="/apps/core/dashboard" aria-current="page">Dashboard</a>
</div>
</section>
</nav>
</aside>Tabs
<nav class="gp-tabs" aria-label="Settings sections">
<a href="?tab=profile" aria-current="page">Profile</a>
<a href="?tab=users">Users</a>
</nav>These are navigation tabs: links change the page or URL. Mark only the current destination with aria-current="page". Do not use tablist roles for ordinary navigation links.
Accessibility
Give each navigation region a distinct label. Preserve visible keyboard focus, native disclosure semantics and current-page indicators. Sidebars and tabs must remain usable at narrow widths and in high contrast.