Components
Nav
A row or column of navigation links — page headers, settings sidebars, footers. No classes on the links needed.
<nav class="nav">
<a href="./" aria-current="page">Overview</a>
<a href="/activity">Activity</a>
</nav>
<nav class="nav nav-pills">…</nav> <!-- current link tinted with the theme -->
<nav class="nav nav-underline">…</nav> <!-- a bar under the current link -->
Vertical
<nav class="nav nav-vertical">
<div class="nav-header">Account</div>
<a href="/profile" aria-current="page"><i class="mi mi-user"></i>Profile</a>
<a href="/notifications"><i class="mi mi-bell"></i>Notifications <span class="badge badge-count">3</span></a>
</nav>
| Class | What it does |
|---|---|
| (default) | Quiet links; the current one gets a soft neutral tint |
.nav-pills | The current link is tinted with the theme color |
.nav-underline | A bar under (or, vertical, beside) the current link |
.nav-vertical + .nav-header | A column with section labels — settings pages, footers |
.nav-fill · .nav-sm | Equal-width links · smaller |
Mark the current page with aria-current="page" (or .active); disable a link with aria-disabled="true". <ul class="nav"><li><a> markup works too, and .nav-link styles a link (or button) that sits deeper, e.g. a dropdown toggle. For switching panels on the same page, use Tabs.
Colors
Add theme-<color> to a nav to color its current link.
<nav class="nav nav-pills theme-green">…</nav>
Page sections
Under a page title, to switch between related pages.
Order #10421
Placed Nov 21, 2026
<div class="card"><div class="card-body grid grid-cols-1 gap-4">
<div>
<h4 class="m-0">Order #10421</h4>
<div class="text-muted text-sm">Placed Nov 21, 2026</div>
</div>
<nav class="nav nav-underline">
<a href="#nav" aria-current="page">Details</a>
<a href="#nav">Payments</a>
<a href="#nav">Shipping</a>
<a href="#nav">History <span class="badge badge-count">2</span></a>
</nav>
</div></div>
Settings layout
A vertical nav beside the content. On phones it stacks on top.
<div class="grid g-4">
<nav class="nav nav-vertical span-12 md:span-4 lg:span-3">
<a href="/profile" aria-current="page">Profile</a>
…
</nav>
<div class="card span-12 md:span-8 lg:span-9">…</div>
</div>
Equal width & small
<div class="grid grid-cols-1 gap-4 max-w-md">
<nav class="nav nav-pills nav-fill">
<a href="#nav" aria-current="page">Day</a>
<a href="#nav">Week</a>
<a href="#nav">Month</a>
</nav>
<nav class="nav nav-sm">
<a href="#nav" aria-current="page">All</a>
<a href="#nav">Paid</a>
<a href="#nav">Unpaid</a>
<a href="#nav">Refunded</a>
</nav>
</div>
Footer links
<footer class="grid g-4 text-sm">
<nav class="nav nav-vertical nav-sm span-6 md:span-3">
<div class="nav-header">Product</div>
<a href="#nav">Features</a>
<a href="#nav">Pricing</a>
<a href="#nav">Changelog</a>
</nav>
<nav class="nav nav-vertical nav-sm span-6 md:span-3">
<div class="nav-header">Company</div>
<a href="#nav">About</a>
<a href="#nav">Careers</a>
<a href="#nav">Contact</a>
</nav>
<nav class="nav nav-vertical nav-sm span-6 md:span-3">
<div class="nav-header">Help</div>
<a href="#nav">Docs</a>
<a href="#nav">Status</a>
</nav>
</footer>