Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Contactknop die uitklapt New

Floating contact button that expands to Call, WhatsApp, Mail and Directions, each with a readable label. Works with Enter, Space, arrows and Esc (focus returns), closes on outside click and sets aria-expanded. Plain links (tel:, wa.me, mailto:, maps), so usable without JS; remove the data-demo attribute in production.

24/7 storingsdienst · Utrecht e.o.

Lekkage of geen warm water?

Loodgietersbedrijf Van Dijk is gemiddeld binnen 45 minuten bij je. Voorrijden binnen de ring: € 45.

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.
<!-- Contactknop die uitklapt · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="sdc" data-demo>
<div class="sdc__page"><p class="sdc__kicker">24/7 storingsdienst · Utrecht e.o.</p><p class="sdc__h">Lekkage of geen warm water?</p><p class="sdc__p">Loodgietersbedrijf Van Dijk is gemiddeld binnen 45 minuten bij je. Voorrijden binnen de ring: € 45.</p></div>
<div class="sdc__dial">
<ul class="sdc__list">
<li class="sdc__item" style="--i:0"><a class="sdc__act" href="tel:+31301234567"><span class="sdc__lbl">Bellen<small>nu bereikbaar</small></span><span class="sdc__ico"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M6.6 3.2l2 3.1-1.4 1.6a9 9 0 0 0 4.9 4.9l1.6-1.4 3.1 2-.7 2.6c-.2.6-.8 1-1.4.9C8.3 16.3 3.7 11.7 3.1 5.3c0-.6.3-1.2.9-1.4z"/></svg></span></a></li>
<li class="sdc__item" style="--i:1"><a class="sdc__act" href="https://wa.me/31612345678?text=Hallo%20Van%20Dijk"><span class="sdc__lbl">WhatsApp<small>antwoord binnen 10 min</small></span><span class="sdc__ico sdc__ico--wa"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M10 2.8a7.2 7.2 0 0 0-6.2 10.9L3 17l3.4-.8A7.2 7.2 0 1 0 10 2.8z"/><path d="M7.6 7c.2-.4.5-.4.7-.4l.5 1.2-.5.7a5 5 0 0 0 2.3 2.3l.7-.5 1.2.5c0 .3 0 .6-.4.8-.5.3-1.2.4-2-.1A6.6 6.6 0 0 1 7.5 9c-.4-.8-.3-1.5.1-2z"/></svg></span></a></li>
<li class="sdc__item" style="--i:2"><a class="sdc__act" href="mailto:service@voorbeeld.nl"><span class="sdc__lbl">Mail<small>service@voorbeeld.nl</small></span><span class="sdc__ico"><svg viewBox="0 0 20 20" aria-hidden="true"><rect x="2.8" y="4.5" width="14.4" height="11" rx="1.5"/><path d="M3.3 5.2l6.7 5.3 6.7-5.3"/></svg></span></a></li>
<li class="sdc__item" style="--i:3"><a class="sdc__act" href="https://www.google.com/maps/dir/?api=1&amp;destination=Kanaalweg+20+Utrecht"><span class="sdc__lbl">Route<small>Kanaalweg 20, Utrecht</small></span><span class="sdc__ico"><svg viewBox="0 0 20 20" aria-hidden="true"><path d="M10 17.5s5.5-5 5.5-9a5.5 5.5 0 0 0-11 0c0 4 5.5 9 5.5 9z"/><circle cx="10" cy="8.5" r="2"/></svg></span></a></li>
</ul>
<button type="button" class="sdc__fab" aria-expanded="false" aria-label="Contact opnemen"><svg class="sdc__chat" viewBox="0 0 24 24" aria-hidden="true"><path d="M4 5h16v11H9l-5 4z"/><path d="M8 9.5h8M8 12.5h5"/></svg><svg class="sdc__x" viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
</div>
<p class="sdc__status" 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 →