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

Productkaarten · 3 varianten New

Three product cards for a web shop: a portrait card with an add-to-cart button that confirms via aria-live, a landscape card with colour choice as real radio buttons (photo and name follow) and a compact card with old and new price, stock and a save button. For category pages, search results and "often bought together".

Stoneware mok in gebroken wit

Mok Duin

Gebroken wit · Atelier Klei, Leiden

€ 24,95

Kussen linnen

€ 39,00 · roest

Voor 22:00 besteld, morgen in huis

Lamp Vos

Was € 89,00 nu € 69,00

Nog 3 op voorraad

How to use it

  1. Paste the HTML where the components 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.
<!-- Productkaarten · 3 varianten · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="pkt">
<article class="pkt__v">
<img class="pkt__foto" src="https://neddev.com/lab-media/productkaart-set-1.webp" alt="Stoneware mok in gebroken wit" width="800" height="436">
<div class="pkt__vb"><h3 class="pkt__n">Mok Duin</h3><p class="pkt__m">Gebroken wit · Atelier Klei, Leiden</p>
<div class="pkt__koop"><p class="pkt__p">€ 24,95</p><button class="pkt__btn pkt__mand" type="button">In mand</button></div></div>
<p class="pkt__sr" aria-live="polite"></p>
</article>
<article class="pkt__h">
<img class="pkt__th pkt__kus" src="https://neddev.com/lab-media/productkaart-set-2.webp" alt="" width="800" height="436">
<div class="pkt__hb"><h3 class="pkt__n">Kussen linnen</h3><p class="pkt__p">€ 39,00 <span class="pkt__kl">· roest</span></p>
<div class="pkt__sw" role="radiogroup" aria-label="Kleur">
<label class="pkt__s pkt__s--roest"><input type="radio" name="pkt-kleur" value="roest" checked aria-label="Roest"></label>
<label class="pkt__s pkt__s--zand"><input type="radio" name="pkt-kleur" value="zand" aria-label="Zand"></label>
<label class="pkt__s pkt__s--zwart"><input type="radio" name="pkt-kleur" value="antraciet" aria-label="Antraciet"></label>
</div><p class="pkt__lev">Voor 22:00 besteld, morgen in huis</p></div>
</article>
<article class="pkt__h">
<img class="pkt__th" src="https://neddev.com/lab-media/productkaart-set-3.webp" alt="" width="800" height="436">
<div class="pkt__hb"><h3 class="pkt__n">Lamp Vos</h3><p class="pkt__p"><s><span class="pkt__sro">Was </span>€ 89,00</s> <strong><span class="pkt__sro">nu </span>€ 69,00</strong></p><p class="pkt__vr">Nog 3 op voorraad</p></div>
<button class="pkt__hart" type="button" aria-pressed="false"><span class="pkt__sro">Bewaar lamp Vos</span><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z"/></svg></button>
</article>
</div>
</div>

More components

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 →