Services
Solutions
Industries
Regions
Book a call 085 369 7668 info@neddev.com

Kopieerknop

A copy button next to an account number: after a click the icon redraws itself into a check mark, the button turns green and after two seconds it all returns. Includes a fallback when clipboard access is refused.

Stichting De Brug, Rotterdam

NL91 ABNA 0417 1643 00

How to use it

  1. Paste the HTML where the buttons should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Kopieerknop · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="h3cp">
  <div class="h3cp-kaart">
    <p class="h3cp-wie">Stichting De Brug, Rotterdam</p>
    <div class="h3cp-rij">
      <span class="h3cp-waarde">NL91 ABNA 0417 1643 00</span>
      <button class="h3cp-btn" type="button" aria-label="Kopieer rekeningnummer">
        <svg viewBox="0 0 24 24" width="18" height="18" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
          <g class="h3cp-i-kopie"><rect x="8" y="8" width="12" height="12" rx="2.5"/><path d="M16 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2"/></g>
          <path class="h3cp-i-vink" d="M5 12.5l4.5 4.5L19.5 7"/>
        </svg>
        <span class="h3cp-txt">Kopieer</span>
      </button>
    </div>
  </div>
  <p class="h3cp-live" aria-live="polite"></p>
</div>
</div>

More buttons

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →