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

Knop met bevestiging erboven New

For actions you do not want to trigger by accident, without a full dialog: clicking Cancel shows a small bubble right above the button saying "Are you sure?" with the choices No (gets focus, the safe option) and Yes. Escape, clicking elsewhere or tabbing away closes it; after Yes a line with Undo appears. For cancelling appointments, removing a line from a cart or pausing a subscription; with reduced motion the bubble appears without animation.

Intake fysiotherapie

Do 16 okt, 14:30 in Vlaardingen

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.
<!-- Knop met bevestiging erboven · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="kib">
<div class="kib__card">
<div class="kib__info"><p class="kib__what">Intake fysiotherapie</p><p class="kib__when">Do 16 okt, 14:30 in Vlaardingen</p></div>
<div class="kib__act">
<button class="kib__btn" type="button" aria-expanded="false" aria-controls="kib-pop">Annuleren</button>
<div class="kib__pop" id="kib-pop" role="group" aria-label="Annuleren bevestigen" hidden>
<p class="kib__q">Weet je het zeker?</p>
<div class="kib__opts"><button class="kib__no" type="button">Nee</button><button class="kib__yes" type="button">Ja, annuleer</button></div>
</div>
<button class="kib__undo" type="button" hidden>Ongedaan maken</button>
</div>
</div>
<p class="kib__st" role="status"></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 →