Kodza

Hero Exit

A centred title in two big lines. On scroll the scene holds, the lines part, a picture opens between them and tightens into a card, then the next section slides over it.

Hero No dependencies herosectionlandingscrollstickypinimageexitscrub Added Oct 2026
/anim/hero-exit/ 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 Hero Exit 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-hero-exit.html
<section class="kodza-hero-exit">
  <div class="kodza-hero-exit__track">
    <div class="kodza-hero-exit__scene">
      <div class="kodza-hero-exit__inner">
        <p class="kodza-hero-exit__eyebrow"><span class="kodza-hero-exit__rise">Launch week · day one</span></p>
        <h1 class="kodza-hero-exit__title"><span class="kodza-hero-exit__line"><span class="kodza-hero-exit__rise">Enter big.</span></span> <span class="kodza-hero-exit__slot" aria-hidden="true"></span> <span class="kodza-hero-exit__line"><span class="kodza-hero-exit__rise">Leave clean.</span></span></h1>
        <div class="kodza-hero-exit__foot">
          <p class="kodza-hero-exit__lead">The title parts, the picture opens, the next section walks on. One paste, no library.</p>
          <div class="kodza-hero-exit__actions">
            <a class="kodza-hero-exit__button kodza-hero-exit__button--ink" href="#">Get the code<svg class="kodza-hero-exit__arrow" viewBox="0 0 16 16" aria-hidden="true"><path d="M2.5 8h10.5M9 3.5 13.5 8 9 12.5" /></svg></a>
            <a class="kodza-hero-exit__button kodza-hero-exit__button--soft" href="#">See it live</a>
          </div>
        </div>
        <p class="kodza-hero-exit__hint" aria-hidden="true"><span class="kodza-hero-exit__rise"><span class="kodza-hero-exit__cue"></span>Scroll to exit</span></p>
      </div>
      <div class="kodza-hero-exit__media">
        <div class="kodza-hero-exit__window"><img src="https://kodza.dev/media/kz-arch-2400.webp" alt="A concrete wall with a round-topped doorway, sunlight pouring through it" width="2400" height="2400" /><div class="kodza-hero-exit__shade"></div></div>
        <div class="kodza-hero-exit__card"></div>
      </div>
    </div>
  </div>
</section>

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 a button
  • Follows the linkEnter
Tabbing back in
  • Lands on a button, the hero scrolls back to show it whole⇧Tab

More like this

More in Hero