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

Downloadknop met voortgang New

A download button that shows its own progress after a click: the arrow makes way for a ring that fills up, with percentage and megabytes alongside, and ends in a check with the file name. You can stop while downloading; the state is announced via aria-live. For quotes, brochures, manuals and invoices as PDF; with reduced motion only the rising number remains.

Offerte dakkapel, Zwolle

Pdf-bestand, 2,4 MB

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.
<!-- Downloadknop met voortgang · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="kdl">
<div class="kdl__box">
<div class="kdl__file"><svg class="kdl__doc" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 2.5h8l4.5 4.5v14.5H6z"/><path d="M14 2.5V7h4.5"/></svg><div><p class="kdl__name">Offerte dakkapel, Zwolle</p><p class="kdl__meta">Pdf-bestand, 2,4 MB</p></div></div>
<div class="kdl__acts">
<button class="kdl__btn" type="button"><span class="kdl__ic" aria-hidden="true"><svg viewBox="0 0 24 24"><circle class="kdl__trk" cx="12" cy="12" r="10"/><circle class="kdl__arc" cx="12" cy="12" r="10" pathLength="100"/><g class="kdl__arrow"><path d="M12 6.5v9"/><path d="M8 12l4 4 4-4"/></g><path class="kdl__chk" d="M7.5 12.5l3 3 6-6.5" pathLength="100"/></svg></span><span class="kdl__lbl">Download offerte</span></button>
<button class="kdl__stop" type="button" hidden>Stoppen</button>
</div>
<p class="kdl__st" aria-live="polite"></p>
</div>
</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 →