← Skyee · Skyee components · Get started

Navbar — standard

Sticky bar that collapses into an offcanvas on mobile.

Live preview

HTML

<header class="sky-nav" style="position:relative"><div class="sky-container sky-nav-in">
  <a class="sky-brand" href="#"><i class="sky-icon sky-icon-skyee" style="font-size:26px"></i> Brand</a>
  <ul class="sky-nav-links sky-collapse"><li><a href="#" aria-current="page">Home</a></li><li><a href="#">Products</a></li><li><a href="#">Pricing</a></li><li><a href="#">Docs</a></li></ul>
  <div class="sky-nav-end"><a class="sky-btn sky-ghost sky-sm" href="#">Log in</a><a class="sky-btn sky-sm" href="#">Sign up</a>
  <button class="sky-btn sky-ghost sky-square sky-nav-burger" data-sky-toggle="offcanvas" data-sky-target="#nav-oc" aria-label="Menu"><i class="sky-icon sky-icon-menu"></i></button></div>
</div></header>
<aside class="sky-offcanvas sky-start" id="nav-oc"><div class="sky-modal-head"><strong>Menu</strong><button class="sky-btn sky-ghost sky-square sky-sm" data-sky-dismiss aria-label="Close"><i class="sky-icon sky-icon-x"></i></button></div><nav class="sky-modal-body sky-stack sky-gap-1"><a class="sky-btn sky-ghost" href="#">Home</a><a class="sky-btn sky-ghost" href="#">Products</a><a class="sky-btn sky-ghost" href="#">Pricing</a></nav></aside>

Open in the Skyee app · Edit in the playground