← Home v1.3.0

Docs / Components / Navbar

Navbar

A sticky floating glass navbar: blurred, tinted pill with a sliding hover highlight, a raised shadow on scroll and a mobile menu that unfolds inside the pill. Framework-free, dark mode included.

Use it

One stylesheet and one script from the CDN, pinned to v1.3.0:

<link rel="stylesheet" href="https://acecss.dev/v1.3.0/ace.min.css"
      integrity="sha384-zHAwOqjifsc0D+iUvzD1a4W0R2g0BOK9AqQJZGakUEp/Tm5IUcP07R9xkY0q/stj" crossorigin="anonymous">
<script src="https://acecss.dev/v1.3.0/ace-navbar.min.js" defer
        integrity="sha384-mGzpk60jYDZT4XtoAEnKGnMuFh7nUewb/rMiOB82IYa3Lp2RBsDfTiAxl2uyF93S" crossorigin="anonymous"></script>

Or from npm:

npm i @acecss/core

import '@acecss/core'
import '@acecss/core/navbar'

Bundlers, Tailwind, every script in one file and self-hosting: Install.

More components