Kodza

Back to Top

A round button that shows up a screen down, its ring filling as you read. Its label unrolls on hover, the arrow takes off when you click.

Scroll No dependencies scrollbuttonprogresstop Added Oct 2026
/anim/back-to-top/ 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 Back to Top button to my WordPress blog.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-back-to-top.html
<div class="kodza-top">
  <button class="kodza-top__button" type="button" aria-label="Back to top">
    <svg class="kodza-top__ring" viewBox="0 0 48 48" aria-hidden="true"><circle class="kodza-top__track" cx="24" cy="24" r="22.5"/><circle class="kodza-top__fill" cx="24" cy="24" r="22.5" pathLength="1"/></svg>
    <span class="kodza-top__arrow" aria-hidden="true"><svg viewBox="0 0 16 16"><path d="M8 13V3M3.5 7.5 8 3l4.5 4.5"/></svg></span>
    <span class="kodza-top__label" aria-hidden="true">Back to top</span>
  </button>
</div>

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.

More like this

More in Scroll