Kodza

Hover Icons

Stroke icons that act out their meaning on hover or keyboard focus: the bell rings, the bin lifts its lid, the plane flies off and back, the cog turns, refresh spins, the padlock opens. CSS only.

SVG & Drawing No dependencies svgiconhoveranimated iconsicon buttonbelltrashsendsettingsrefreshlockcss only Added Nov 2026
/anim/hover-icons/ 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 Hover Icons 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-hover-icons.html
<button class="kodza-hover-icons kodza-hover-icons--icon" type="button" aria-label="Refresh">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <g class="kodza-hover-icons__turn">
      <path d="M5.19 9.52A7.25 7.25 0 0 1 18.57 8.94M15.63 7.69 18.57 8.94 19.51 5.88"/>
      <path d="M18.81 14.48A7.25 7.25 0 0 1 5.43 15.06M8.37 16.31 5.43 15.06 4.49 18.12"/>
    </g>
  </svg>
</button>

<button class="kodza-hover-icons kodza-hover-icons--icon" type="button" aria-label="Settings">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <g class="kodza-hover-icons__gear">
      <path d="M18.6 9.98 20.83 10.28V13.72L18.6 14.02A6.9 6.9 0 0 1 18.09 15.24L19.46 17.03 17.03 19.46 15.24 18.09A6.9 6.9 0 0 1 14.02 18.6L13.72 20.83H10.28L9.98 18.6A6.9 6.9 0 0 1 8.76 18.09L6.97 19.46 4.54 17.03 5.91 15.24A6.9 6.9 0 0 1 5.4 14.02L3.17 13.72V10.28L5.4 9.98A6.9 6.9 0 0 1 5.91 8.76L4.54 6.97 6.97 4.54 8.76 5.91A6.9 6.9 0 0 1 9.98 5.4L10.28 3.17H13.72L14.02 5.4A6.9 6.9 0 0 1 15.24 5.91L17.03 4.54 19.46 6.97 18.09 8.76A6.9 6.9 0 0 1 18.6 9.98Z"/>
      <circle cx="12" cy="12" r="2.75"/>
    </g>
  </svg>
</button>

<button class="kodza-hover-icons kodza-hover-icons--icon" type="button" aria-label="Notifications">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path class="kodza-hover-icons__bell" d="M12 3.25V5.25M5.5 17H18.5C17.4 15.8 16.75 14.4 16.75 12.5V10A4.75 4.75 0 0 0 7.25 10V12.5C7.25 14.4 6.6 15.8 5.5 17Z"/>
    <path class="kodza-hover-icons__clapper" d="M10.25 19.5A1.9 1.9 0 0 0 13.75 19.5"/>
  </svg>
</button>

<button class="kodza-hover-icons" type="button">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <g class="kodza-hover-icons__shackle">
      <path class="kodza-hover-icons__swing" d="M8.25 10.5V7.75A3.75 3.75 0 0 1 15.75 7.75V10.5"/>
    </g>
    <rect x="5" y="10.5" width="14" height="10" rx="2.5"/>
    <path d="M12 14.5V16.5"/>
  </svg>
  <span class="kodza-hover-icons__label">Unlock</span>
</button>

<button class="kodza-hover-icons" type="button">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path class="kodza-hover-icons__lid" d="M4.5 7H19.5M9.25 7V5.25C9.25 4.7 9.7 4.25 10.25 4.25H13.75C14.3 4.25 14.75 4.7 14.75 5.25V7"/>
    <path d="M6.5 7 7.3 18.6C7.37 19.65 8.25 20.5 9.3 20.5H14.7C15.75 20.5 16.63 19.65 16.7 18.6L17.5 7M10.25 11V16.5M13.75 11V16.5"/>
  </svg>
  <span class="kodza-hover-icons__label">Delete</span>
</button>

<button class="kodza-hover-icons kodza-hover-icons--solid" type="button">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path class="kodza-hover-icons__plane" d="M20.5 3.5 3.5 10.25 10.5 13.5 13.75 20.5ZM20.5 3.5 10.5 13.5"/>
  </svg>
  <span class="kodza-hover-icons__label">Send</span>
</button>

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 SVG & Drawing