
Keuken in Haarlem
Open keuken met kookeiland
A stack of project cards: drag the top one right to save it or left to skip it, and the next one moves forward. Also works with the buttons and the arrow keys.

Open keuken met kookeiland

Maatwerk kasten in groen

Hout, tegels en daglicht

Kast onder de trap

Grachtenpand opnieuw ingedeeld
Nog niets bewaard
<!-- Swipe Card Deck · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="h3sw">
<button class="h3sw-k h3sw-k--nee" type="button" aria-label="Overslaan"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg></button>
<div class="h3sw-stapel" tabindex="0" role="group" aria-label="Projectkaarten, gebruik pijl links of rechts">
<article class="h3sw-c"><img src="https://neddev.com/lab-media/kaart-carousel-uitklap-1.webp" alt="Lichte keuken met eiland" draggable="false"><div class="h3sw-o"><h3>Keuken in Haarlem</h3><p>Open keuken met kookeiland</p></div></article>
<article class="h3sw-c"><img src="https://neddev.com/lab-media/kaart-carousel-uitklap-2.webp" alt="Groene boekenkast rond een doorgang" draggable="false"><div class="h3sw-o"><h3>Bibliotheek in Delft</h3><p>Maatwerk kasten in groen</p></div></article>
<article class="h3sw-c"><img src="https://neddev.com/lab-media/kaart-carousel-uitklap-3.webp" alt="Badkamer met houten meubel" draggable="false"><div class="h3sw-o"><h3>Badkamer in Noordwijk</h3><p>Hout, tegels en daglicht</p></div></article>
<article class="h3sw-c"><img src="https://neddev.com/lab-media/kaart-carousel-uitklap-4.webp" alt="Hal met trap en kast eronder" draggable="false"><div class="h3sw-o"><h3>Hal in Utrecht</h3><p>Kast onder de trap</p></div></article>
<article class="h3sw-c"><img src="https://neddev.com/lab-media/carousel-basis-1.webp" alt="Woonkamer met haard" draggable="false"><div class="h3sw-o"><h3>Woonkamer in Leiden</h3><p>Grachtenpand opnieuw ingedeeld</p></div></article>
</div>
<button class="h3sw-k h3sw-k--ja" type="button" aria-label="Bewaren"><svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5"/></svg></button>
<p class="h3sw-tel" aria-live="polite">Nog niets bewaard</p>
</div>
</div>/* Swipe Card Deck · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie */
/* fonts (Fontshare): switzer@400,600 */
.h3sw{position:relative;width:100%;height:100%;min-height:230px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:clamp(12px,4vw,40px);padding:16px 16px 34px;background:#dde3e0;container-type:size;font-family:Switzer,sans-serif;overflow:hidden}
.h3sw-stapel{position:relative;height:min(320px,74cqh);aspect-ratio:3/4;flex:none;outline:none;border-radius:4px}
.h3sw-stapel:focus-visible{outline:2px solid #F5480F;outline-offset:6px}
.h3sw-c{position:absolute;inset:0;margin:0;border-radius:4px;overflow:hidden;background:#cfccc4;box-shadow:0 14px 30px -18px rgba(0,0,0,.55);transform-origin:50% 90%;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s ease;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.h3sw-c.is-top{cursor:grab}
.h3sw-c.is-sleep{transition:none;cursor:grabbing}
.h3sw-c img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.h3sw-o{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 13px;background:linear-gradient(to top,rgba(0,0,0,.72),rgba(0,0,0,0));color:#fff}
.h3sw-o h3{margin:0;font:600 clamp(13px,5.2cqh,17px)/1.2 Switzer,sans-serif}
.h3sw-o p{margin:3px 0 0;font:400 clamp(11px,4cqh,13px)/1.3 Switzer,sans-serif;opacity:.85}
.h3sw-c::after{content:attr(data-stempel);position:absolute;top:14px;padding:5px 10px;border:2px solid currentColor;border-radius:4px;font:600 14px/1 Switzer,sans-serif;background:rgba(255,255,255,.9);opacity:var(--h3sw-s,0)}
.h3sw-c[data-stempel="Bewaren"]::after{left:14px;color:#1d7a4b;transform:rotate(-10deg)}
.h3sw-c[data-stempel="Overslaan"]::after{right:14px;color:#c2361a;transform:rotate(10deg)}
.h3sw-k{flex:none;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:1px solid #cbc8c0;background:#fff;color:#171717;cursor:pointer;transition:transform .15s ease,background .2s,color .2s}
.h3sw-k:hover{transform:scale(1.06)}
.h3sw-k--nee:hover{color:#c2361a}.h3sw-k--ja:hover{color:#1d7a4b}
.h3sw-k:focus-visible{outline:2px solid #F5480F;outline-offset:3px}
@container (max-height:280px){.h3sw-o{padding:26px 10px 9px}.h3sw-o p{display:none}}
.h3sw-tel{position:absolute;left:0;right:0;bottom:10px;margin:0;text-align:center;font:400 13px/1 Switzer,sans-serif;color:#555}
@media (prefers-reduced-motion:reduce){.h3sw-c{transition:opacity .2s ease}}// Swipe Card Deck · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie
// root = het element waarin de HTML staat
function init(root){
var stapel = root.querySelector('.h3sw-stapel'), tel = root.querySelector('.h3sw-tel');
var still = window.matchMedia && matchMedia('(prefers-reduced-motion: reduce)').matches;
var bewaard = 0, bezig = false;
function kaarten() { return Array.prototype.slice.call(stapel.querySelectorAll('.h3sw-c')).reverse(); }
function leg() {
kaarten().forEach(function (c, d) {
c.classList.toggle('is-top', d === 0);
c.style.zIndex = String(10 - d);
var dd = Math.min(d, 3);
c.style.transform = 'translateY(' + (dd * 12) + 'px) scale(' + (1 - dd * 0.055) + ')';
c.style.opacity = d > 2 ? '0' : '1';
c.style.setProperty('--h3sw-s', '0');
c.setAttribute('aria-hidden', d === 0 ? 'false' : 'true');
});
}
leg();
function weg(richting) {
if (bezig) return; bezig = true;
var top = kaarten()[0], w = stapel.offsetWidth;
top.classList.remove('is-sleep');
top.setAttribute('data-stempel', richting > 0 ? 'Bewaren' : 'Overslaan'); top.style.setProperty('--h3sw-s', '1');
top.style.transform = 'translate(' + (richting * w * 1.9) + 'px,' + (-20) + 'px) rotate(' + (richting * 24) + 'deg)';
top.style.opacity = '0';
if (richting > 0) bewaard++;
tel.textContent = bewaard ? (bewaard === 1 ? '1 project bewaard' : bewaard + ' projecten bewaard') : 'Nog niets bewaard';
setTimeout(function () {
top.style.transition = 'none'; stapel.insertBefore(top, stapel.firstChild); leg();
void top.offsetWidth; top.style.transition = ''; bezig = false;
}, still ? 150 : 420);
}
var start = null;
stapel.addEventListener('pointerdown', function (e) {
var c = e.target.closest('.h3sw-c'); if (!c || !c.classList.contains('is-top') || bezig) return;
start = { x: e.clientX, y: e.clientY, t: performance.now(), c: c, dx: 0, dy: 0, id: e.pointerId };
c.setPointerCapture(e.pointerId); c.classList.add('is-sleep');
});
stapel.addEventListener('pointermove', function (e) {
if (!start || e.pointerId !== start.id) return;
start.dx = e.clientX - start.x; start.dy = e.clientY - start.y;
var w = stapel.offsetWidth, k = Math.max(-1, Math.min(1, start.dx / (w * 0.45)));
start.c.style.transform = 'translate(' + start.dx + 'px,' + (start.dy * 0.4) + 'px) rotate(' + (start.dx * 0.07) + 'deg)';
start.c.setAttribute('data-stempel', k >= 0 ? 'Bewaren' : 'Overslaan'); start.c.style.setProperty('--h3sw-s', String(Math.abs(k)));
});
function los(e) {
if (!start || e.pointerId !== start.id) return;
var s = start; start = null; s.c.classList.remove('is-sleep');
var v = Math.abs(s.dx) / Math.max(1, performance.now() - s.t);
if (Math.abs(s.dx) > stapel.offsetWidth * 0.32 || (v > 0.6 && Math.abs(s.dx) > 30)) weg(s.dx > 0 ? 1 : -1);
else leg();
}
stapel.addEventListener('pointerup', los);
stapel.addEventListener('pointercancel', los);
stapel.addEventListener('keydown', function (e) {
if (e.key === 'ArrowRight') { e.preventDefault(); weg(1); }
if (e.key === 'ArrowLeft') { e.preventDefault(); weg(-1); }
});
root.querySelector('.h3sw-k--ja').addEventListener('click', function () { weg(1); });
root.querySelector('.h3sw-k--nee').addEventListener('click', function () { weg(-1); });
}
init(document.querySelector('.jouw-container'));
Add it to your selection and send it over. We build your site around it, in your brand.
Get in touch →