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

Cadeautje met kortingscode New

A drawn gift that wobbles now and then; click the button and the lid flips open, a card with the discount slides up and the code appears with a copy button. Works with the keyboard, announces the code to screen readers and does not wobble with reduced motion. For a web shop thank you page, a newsletter sign up or a birthday mail that links to the site.

Bedankt voor je bestelling bij Koffiebranderij Noord in Groningen

Er zit nog iets voor je in het pakket.

How to use it

  1. Paste the HTML where the components 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.
<!-- Cadeautje met kortingscode · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="r7cc">
<div class="r7cc__beeld">
<svg class="r7cc__svg" viewBox="0 -12 140 152" aria-hidden="true" focusable="false">
<g class="r7cc__kaart"><rect x="38" y="62" width="64" height="44" rx="3"/><text x="70" y="85">10%</text><text class="r7cc__klein" x="70" y="99">korting</text></g>
<g class="r7cc__doos"><rect class="r7cc__lijf" x="26" y="74" width="88" height="56" rx="3"/><rect class="r7cc__lint" x="64" y="74" width="12" height="56"/></g>
<g class="r7cc__deksel"><rect class="r7cc__dek" x="20" y="60" width="100" height="18" rx="3"/><rect class="r7cc__lint" x="64" y="60" width="12" height="18"/><path class="r7cc__strik" d="M70 60C58 44 44 50 52 58C56 62 64 61 70 60C76 61 84 62 88 58C96 50 82 44 70 60Z"/></g>
</svg>
</div>
<div class="r7cc__txt">
<p class="r7cc__h">Bedankt voor je bestelling bij Koffiebranderij Noord in Groningen</p>
<p class="r7cc__p">Er zit nog iets voor je in het pakket.</p>
<button class="r7cc__open" type="button">Open je cadeau</button>
<div class="r7cc__code" hidden>
<p class="r7cc__uitleg">10% korting op je volgende bestelling, geldig tot 31 december.</p>
<div class="r7cc__rij"><span class="r7cc__c">Noord10</span><button class="r7cc__kopie" type="button">Kopieer</button></div>
</div>
<p class="r7cc__m" aria-live="polite"></p>
</div>
</div>
</div>

More components

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 →