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

Slide to Confirm

Confirm a payment by sliding the handle all the way to the right; let go early and it springs back. Works with mouse, touch and arrow keys, with its position announced as a slider.

Schilderwerk buitengevel€ 1.840,00

Schildersbedrijf Bos, Amersfoort · factuur 2026-0781

How to use it

  1. Paste the HTML where the forms & inputs 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.
<!-- Slide to Confirm · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="stc">
  <div class="stc__kaart">
    <div class="stc__rij"><span class="stc__wat">Schilderwerk buitengevel</span><span class="stc__bedrag">&euro; 1.840,00</span></div>
    <p class="stc__wie">Schildersbedrijf Bos, Amersfoort · <span class="stc__nr">factuur 2026-0781</span></p>
    <div class="stc__baan">
      <div class="stc__vulling" aria-hidden="true"></div>
      <span class="stc__hint" aria-hidden="true">Schuif om te betalen</span>
      <span class="stc__klaar" aria-hidden="true">Betaald, dank u wel</span>
      <div class="stc__greep" role="slider" tabindex="0" aria-label="Schuif om 1.840 euro te betalen" aria-valuemin="0" aria-valuemax="100" aria-valuenow="0" aria-valuetext="Nog niet betaald">
        <svg class="stc__ico stc__ico--pijl" viewBox="0 0 20 20" aria-hidden="true"><path d="M7.5 5l5 5-5 5"/></svg>
        <svg class="stc__ico stc__ico--vink" viewBox="0 0 20 20" aria-hidden="true"><path d="M4.5 10.5l3.5 3.5 7.5-8"/></svg>
      </div>
    </div>
    <button class="stc__opnieuw" type="button" hidden>Opnieuw proberen</button>
  </div>
</div>
</div>

More forms & inputs

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 →