Kodza

Morph Icons

Icon buttons whose strokes travel into the other icon: play to pause, sound to mute, plus to close, list to grid. They follow aria-pressed or aria-expanded and fire kodza:morph-icons.

SVG & Drawing No dependencies svgiconicon buttontogglemorphplay pausemuteplus closegrid view Added Nov 2026
/anim/morph-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 Morph 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-morph-icons.html
<button class="kodza-morph-icons kodza-morph-icons--play" type="button" aria-pressed="false" aria-label="Play">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path class="kodza-morph-icons__s kodza-morph-icons__edge" d="M-12 0H12"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__upper" d="M-12 0H12"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__lower" d="M-12 0H12"/>
  </svg>
</button>

<button class="kodza-morph-icons kodza-morph-icons--sound" type="button" aria-pressed="false" aria-label="Mute">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path d="M3 9.5H6.5L11 5.5V18.5L6.5 14.5H3Z"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__wave" d="M14.5 9A4 4 0 0 1 14.5 15"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__wave kodza-morph-icons__wave--far" d="M17.5 6A7 7 0 0 1 17.5 18"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__cross" d="M-12 0H12"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__cross kodza-morph-icons__cross--back" d="M-12 0H12"/>
  </svg>
</button>

<button class="kodza-morph-icons kodza-morph-icons--plus" type="button" aria-expanded="false" aria-label="Filters">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <path class="kodza-morph-icons__s kodza-morph-icons__bar" d="M-12 0H12"/>
    <path class="kodza-morph-icons__s kodza-morph-icons__bar kodza-morph-icons__bar--upright" d="M-12 0H12"/>
  </svg>
</button>

<button class="kodza-morph-icons kodza-morph-icons--view kodza-morph-icons--bare" type="button" aria-pressed="false" aria-label="Grid view">
  <svg viewBox="0 0 24 24" aria-hidden="true" focusable="false">
    <g class="kodza-morph-icons__row">
      <rect x="4" y="4" width="6" height="6"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__top" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__bottom" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__side" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__side kodza-morph-icons__side--end" d="M-12 0H12"/>
    </g>
    <g class="kodza-morph-icons__row">
      <rect x="4" y="4" width="6" height="6"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__top" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__bottom" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__side" d="M-12 0H12"/>
      <path class="kodza-morph-icons__s kodza-morph-icons__side kodza-morph-icons__side--end" d="M-12 0H12"/>
    </g>
  </svg>
</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.
KeyboardPress them in the preview
On a button
  • Switches the icon, and aria-pressed or aria-expanded with itEnter/Space

More like this

More in SVG & Drawing