Kodza

Ink Like

Like button whose heart fills with ink, a small wave riding the surface, and drains when the like is taken back. The count rolls digit by digit with carries (999 → 1,000) and rolls back if the request fails.

Buttons No dependencies buttonlikeheartcountertoggle Added Oct 2026
/anim/ink-like/ 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 Ink Like 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-ink-like.html
<button class="kodza-ink-like" type="button" aria-pressed="false" aria-label="Like, 999 likes" data-count="999">
  <svg class="kodza-ink-like__icon" viewBox="0 0 24 24" aria-hidden="true">
    <g class="kodza-ink-like__ink">
      <g class="kodza-ink-like__level">
        <g class="kodza-ink-like__surface">
          <path class="kodza-ink-like__wave" d="M-48 2q6-2.4 12 0t12 0t12 0t12 0t12 0t12 0t12 0t12 0V40H-48z" />
        </g>
      </g>
    </g>
    <path class="kodza-ink-like__shape" d="M12 20.5C10.5 19.3 2.5 13.8 2.5 8.6 2.5 5.8 4.6 3.8 7.2 3.8 9.2 3.8 10.9 5 12 6.7 13.1 5 14.8 3.8 16.8 3.8 19.4 3.8 21.5 5.8 21.5 8.6 21.5 13.8 13.5 19.3 12 20.5Z" />
  </svg>
  <span class="kodza-ink-like__count" aria-hidden="true">999</span>
</button>

<button class="kodza-ink-like kodza-ink-like--bare" type="button" aria-pressed="true" aria-label="Like, 128 likes" data-count="128">
  <svg class="kodza-ink-like__icon" viewBox="0 0 24 24" aria-hidden="true">
    <g class="kodza-ink-like__ink">
      <g class="kodza-ink-like__level">
        <g class="kodza-ink-like__surface">
          <path class="kodza-ink-like__wave" d="M-48 2q6-2.4 12 0t12 0t12 0t12 0t12 0t12 0t12 0t12 0V40H-48z" />
        </g>
      </g>
    </g>
    <path class="kodza-ink-like__shape" d="M12 20.5C10.5 19.3 2.5 13.8 2.5 8.6 2.5 5.8 4.6 3.8 7.2 3.8 9.2 3.8 10.9 5 12 6.7 13.1 5 14.8 3.8 16.8 3.8 19.4 3.8 21.5 5.8 21.5 8.6 21.5 13.8 13.5 19.3 12 20.5Z" />
  </svg>
  <span class="kodza-ink-like__count" aria-hidden="true">128</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.
KeyboardPress them in the preview
On the button
  • Likes, or takes the like backEnter/Space

More like this

More in Buttons