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

Productgrid met filters en winkelwagen New

Shop grid with quick category and price filters, sorting and an add-to-cart button with an animated counter.

Branderij Bonte Boon · Nijmegen

Vers gebrand, deze week

    How to use it

    1. Paste the HTML where the page sections 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.
    <!-- Productgrid met filters en winkelwagen · NedDev · eigen werk. -->
    <div class="jouw-container">
    <div class="xsg">
      <div class="xsg__inner">
        <div class="xsg__head">
          <div><span class="xsg__eyebrow">Branderij Bonte Boon · Nijmegen</span><h2 class="xsg__h">Vers gebrand, deze week</h2></div>
          <button type="button" class="xsg__cart" aria-label="Winkelwagen, 0 artikelen"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M3 4h2.5l2.2 11h10.6l2-8H7" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round"/><circle cx="9.5" cy="19.5" r="1.5" fill="currentColor"/><circle cx="17" cy="19.5" r="1.5" fill="currentColor"/></svg><span class="xsg__count">0</span></button>
        </div>
        <div class="xsg__bar">
          <div class="xsg__chips" role="group" aria-label="Categorie"><button type="button" class="is-on" data-c="alle">Alles</button><button type="button" data-c="bonen">Bonen</button><button type="button" data-c="gemalen">Gemalen</button><button type="button" data-c="acc">Zetten</button></div>
          <div class="xsg__sel">
            <label><span>Prijs</span><select class="xsg__price"><option value="999">Alle prijzen</option><option value="12">Tot € 12</option><option value="25">Tot € 25</option></select></label>
            <label><span>Sorteer</span><select class="xsg__sort"><option value="pop">Populair</option><option value="asc">Prijs laag naar hoog</option><option value="desc">Prijs hoog naar laag</option></select></label>
          </div>
        </div>
        <ul class="xsg__grid"></ul>
        <p class="xsg__empty" hidden>Niets gevonden met deze filters. <button type="button" class="xsg__clear">Wis filters</button></p>
      </div>
    </div>
    </div>

    More page sections

    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 →