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

Vestigingenzoeker op postcode New

Store list with a stylised SVG map: enter your postcode and the stores sort by distance (as the crow flies), each showing whether it is open now and until when. List and map are linked (hover and click), with an error for an unknown or malformed postcode. On narrow screens you switch between list and map. The demo uses a small postcode table; in production you connect the PDOK Locatieserver for coordinates and optionally the Geolocation API.

    How to use it

    1. Paste the HTML where the numbers & charts 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.
    <!-- Vestigingenzoeker op postcode · NedDev · eigen werk. -->
    <div class="jouw-container">
    <div class="vzk">
      <form class="vzk__form" novalidate>
        <label class="vzk__lbl" for="vzk-pc">Jouw postcode</label>
        <div class="vzk__row">
          <input class="vzk__in" id="vzk-pc" inputmode="text" autocomplete="postal-code" placeholder="2611 AB" value="2611 AB" aria-describedby="vzk-err" maxlength="7">
          <button class="vzk__go" type="submit">Zoek</button>
          <div class="vzk__tabs" role="group" aria-label="Weergave"><button type="button" data-t="lijst" aria-pressed="true">Lijst</button><button type="button" data-t="kaart" aria-pressed="false">Kaart</button></div>
        </div>
        <p class="vzk__err" id="vzk-err" role="alert"></p>
      </form>
      <div class="vzk__body">
        <ul class="vzk__list" role="list" aria-label="Vestigingen"></ul>
        <div class="vzk__map">
          <svg viewBox="0 0 200 200" preserveAspectRatio="none" aria-hidden="true" focusable="false">
            <path class="vzk__sea" d="M0 0H98L86 16 37 68 0 108Z"/>
            <path class="vzk__coast" d="M98 0 86 16 37 68 0 108"/>
            <path class="vzk__river" d="M0 114C40 124 72 140 102 148S140 172 162 190 190 200 200 200"/>
            <path class="vzk__river" d="M200 102C180 108 158 120 118 142"/>
            <path class="vzk__river" d="M78 32C94 42 106 48 122 52S160 58 200 62"/>
          </svg>
          <div class="vzk__pins"></div>
        </div>
      </div>
      <p class="vzk__sr" aria-live="polite"></p>
    </div>
    </div>

    More numbers & charts

    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 →