Services
Solutions
Industries
Regions
Book a call 085 369 7668 info@neddev.com

Categoriepanelen die openschuiven New

Horizontal categories for a shop or service provider: the panel under the pointer or with focus widens and shows photo, name and offer. Keyboard: Tab or left/right arrows, Home and End. On touch the first tap opens the panel, the second follows the link. Transition on flex-grow; no animation with reduced motion. Without JS it stays a plain link list.

How to use it

  1. Paste the HTML where the navigation & menus 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.
<!-- Categoriepanelen die openschuiven · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<nav class="cpn" aria-label="Woonwinkel Hofstede, categorieën">
<ul class="cpn__list">
<li class="cpn__it is-on"><a class="cpn__a" href="#categorie-panelen"><img class="cpn__img" src="https://neddev.com/lab-media/categorie-panelen-1.webp" alt="" loading="lazy"><span class="cpn__v" aria-hidden="true">Banken</span><span class="cpn__txt"><span class="cpn__n">Banken</span><span class="cpn__m">84 modellen, vanaf € 649</span></span></a></li>
<li class="cpn__it"><a class="cpn__a" href="#categorie-panelen"><img class="cpn__img" src="https://neddev.com/lab-media/categorie-panelen-2.webp" alt="" loading="lazy"><span class="cpn__v" aria-hidden="true">Tafels</span><span class="cpn__txt"><span class="cpn__n">Tafels</span><span class="cpn__m">56 modellen, vanaf € 395</span></span></a></li>
<li class="cpn__it"><a class="cpn__a" href="#categorie-panelen"><img class="cpn__img" src="https://neddev.com/lab-media/categorie-panelen-3.webp" alt="" loading="lazy"><span class="cpn__v" aria-hidden="true">Kasten</span><span class="cpn__txt"><span class="cpn__n">Kasten</span><span class="cpn__m">41 modellen, vanaf € 289</span></span></a></li>
<li class="cpn__it"><a class="cpn__a" href="#categorie-panelen"><img class="cpn__img" src="https://neddev.com/lab-media/categorie-panelen-4.webp" alt="" loading="lazy"><span class="cpn__v" aria-hidden="true">Lampen</span><span class="cpn__txt"><span class="cpn__n">Lampen</span><span class="cpn__m">120 modellen, vanaf € 49</span></span></a></li>
<li class="cpn__it"><a class="cpn__a" href="#categorie-panelen"><img class="cpn__img" src="https://neddev.com/lab-media/categorie-panelen-5.webp" alt="" loading="lazy"><span class="cpn__v" aria-hidden="true">Tuin</span><span class="cpn__txt"><span class="cpn__n">Tuin</span><span class="cpn__m">38 sets, vanaf € 179</span></span></a></li>
</ul>
</nav>
</div>

More navigation & menus

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 →