Kodza

Scroll Header

A floating glass pill that clears the top of the page, frosts as you scroll, steps aside while you read and turns to dark glass over dark sections.

Navigation No dependencies headerscrollstickynav Added Oct 2026
/anim/scroll-header/ Fullscreen

With your AI

Just ask.

Say it to your AI. It gets the exact code below, not its best guess, and knows where it goes.

Make my WordPress header a Kodza Scroll Header.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-scroll-header.html
<header class="kodza-scroll-header">
  <div class="kodza-scroll-header__bar">
    <a class="kodza-scroll-header__brand" href="#">
      <span class="kodza-scroll-header__mark" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M5 3v10M11.5 3 6.5 8l5 5"/></svg></span>
      kodza
    </a>
    <nav class="kodza-scroll-header__nav" aria-label="Main">
      <a class="kodza-scroll-header__link" href="#" aria-current="page">Components</a>
      <a class="kodza-scroll-header__link" href="#">Docs</a>
      <a class="kodza-scroll-header__link" href="#">Changelog</a>
    </nav>
    <div class="kodza-scroll-header__actions">
      <a class="kodza-scroll-header__cta kodza-scroll-header__cta--quiet" href="#">Sign in</a>
      <a class="kodza-scroll-header__cta" href="#">Get started</a>
      <button class="kodza-scroll-header__burger" type="button" aria-expanded="false" aria-label="Menu"><span></span><span></span></button>
    </div>
  </div>
  <div class="kodza-scroll-header__panel">
    <div class="kodza-scroll-header__panel-in"></div>
  </div>
</header>

Checked

Checked before you paste.

Robots poked at it before you did. Every component goes through the same checks, and again each time it changes.

What ranLast run
Accessibilityaxe-core 4.10.2: the WCAG 2.1 A and AA rules, plus best practices. 0 issues
KeyboardThe Tab key gets there, and the focus ring shows when it does. Passed
Reduced motionTurn on reduced motion and what moved just appears. Nothing loops. Passed
Light and darkThe same checks on both themes, contrast included. Passed
WordPressPasted into Twenty Twenty-Five, Twenty Twenty-One, Astra, Blocksy, GeneratePress, Hello Elementor, Kadence and OceanWP. Nothing to flag. 8 / 8 themes
Robots checked this. A human with VoiceOver hasn't yet.
KeyboardPress them in the preview
In the open menu
  • Closes the menu, focus back on its buttonEsc
While it's hidden
  • Tabbing into it brings it back in viewTab

More like this

More in Navigation