Kodza

Copy to Clipboard

A command, or a sentence for your AI, with a copy button: the icon turns into a check that draws itself and the label rolls to "Copied".

Buttons No dependencies buttonclipboardcodefeedback Added Jan 2026
/anim/copy-clipboard/ 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 Kodza Copy to Clipboard to my install command.

Not plugged in yet?
claude mcp add -t http kodza https://kodza.dev/api/mcp
Also in Codex, Cursor and VS Code.
kodza-copy-clipboard.html
<div class="kodza-copy" data-kodza-copy>
  <code class="kodza-copy__code">git commit -m "works on my machine"</code>
  <button class="kodza-copy__button" type="button">
    <span class="kodza-copy__icon" aria-hidden="true">
      <svg class="kodza-copy__glyph kodza-copy__glyph--copy" viewBox="0 0 16 16"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5" /><path d="M10.5 3.5v-.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h.5" /></svg>
      <svg class="kodza-copy__glyph kodza-copy__glyph--done" viewBox="0 0 16 16"><path d="M3 8.5l3.2 3L13 4.5" pathLength="1" /></svg>
    </span>
    <span class="kodza-copy__label">
      <span class="kodza-copy__word">Copy</span>
      <span class="kodza-copy__word kodza-copy__word--done" aria-hidden="true">Copied</span>
    </span>
  </button>
  <span class="kodza-copy__status" role="status"></span>
</div>

<div class="kodza-copy kodza-copy--prompt" data-kodza-copy>
  <p class="kodza-copy__code">Add the Kodza fill button to my hero, and make it say "Ship it".</p>
  <button class="kodza-copy__button" type="button">
    <span class="kodza-copy__icon" aria-hidden="true">
      <svg class="kodza-copy__glyph kodza-copy__glyph--copy" viewBox="0 0 16 16"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5" /><path d="M10.5 3.5v-.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h.5" /></svg>
      <svg class="kodza-copy__glyph kodza-copy__glyph--done" viewBox="0 0 16 16"><path d="M3 8.5l3.2 3L13 4.5" pathLength="1" /></svg>
    </span>
    <span class="kodza-copy__label">
      <span class="kodza-copy__word">Copy</span>
      <span class="kodza-copy__word kodza-copy__word--done" aria-hidden="true">Copied</span>
    </span>
  </button>
  <span class="kodza-copy__status" role="status"></span>
</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 Buttons