Kodza

Header Classic

A site header with a logo, links and one button: a line glides under the links, front edge first, and returns under the current page; below 900 px the links become a shutter menu.

Header No dependencies headernavnavbarunderlinemobile menupopoverwp_nav_menu Added Oct 2026
/anim/header-classic/ GitHub 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.

Add the Kodza Header Classic to my page.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-header-classic.html
<header class="kodza-header-classic">
  <div class="kodza-header-classic__row">
    <a class="kodza-header-classic__logo" href="#" aria-label="Pier, home"><svg viewBox="0 0 24 22" width="22" height="20" aria-hidden="true"><path d="M1 6h22v3.5H1z"/><path d="M3.5 11.5h3V21h-3zM10.5 11.5h3V21h-3zM17.5 11.5h3V21h-3z"/></svg><span>pier</span></a>
    <nav class="kodza-header-classic__menu" aria-label="Main">
      <ul class="kodza-header-classic__links">
        <li><a class="kodza-header-classic__link" href="#" aria-current="page">Work</a></li>
        <li><a class="kodza-header-classic__link" href="#">Services</a></li>
        <li><a class="kodza-header-classic__link" href="#">Studio</a></li>
        <li><a class="kodza-header-classic__link" href="#">Journal</a></li>
        <li><a class="kodza-header-classic__link" href="#">Contact</a></li>
      </ul>
      <span class="kodza-header-classic__line" aria-hidden="true"></span>
    </nav>
    <div class="kodza-header-classic__end">
      <a class="kodza-header-classic__cta" href="#">Start a project</a>
      <button class="kodza-header-classic__toggle" type="button" aria-expanded="false"><span class="kodza-header-classic__lines" aria-hidden="true"></span><span class="kodza-header-classic__label"><span class="kodza-header-classic__say">Menu</span><span class="kodza-header-classic__say" aria-hidden="true">Close</span></span></button>
      <div class="kodza-header-classic__panel" popover aria-label="Menu">
        <nav class="kodza-header-classic__list" aria-label="Main"></nav>
        <div class="kodza-header-classic__info">
          <p class="kodza-header-classic__more"><a class="kodza-header-classic__action" href="#">Start a project</a></p>
          <p class="kodza-header-classic__socials"><a href="#">GitHub</a><a href="#">X</a><a href="#">RSS</a></p>
        </div>
      </div>
    </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
On the Menu button, below 900 px
  • Opens or closes the shutterEnter/Space
In the shutter
  • Rolls it back up, focus back on MenuEsc
  • Past the last link, rolls it up and goes on with the pageTab

More like this

More in Header