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

Dock met vergroting New

A bar of app icons that grows calmly under the mouse, like the macOS dock: the icon under the cursor gets largest and its neighbours grow a little. Size follows the distance to the cursor with soft easing. With Tab or the arrow keys the chosen icon gets the same magnification and a label. On touch and with reduced motion only the label remains. Useful as main navigation in a client portal or as a quick menu on a portfolio site.

Goedemiddag, Sanne

Je bekijkt nu: Overzicht

Factuur 2026-0412 staat klaar en de afspraak van donderdag 10:00 is bevestigd.

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.
<!-- Dock met vergroting · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="dkv">
<div class="dkv__screen">
<p class="dkv__hi">Goedemiddag, Sanne</p>
<p class="dkv__sub" aria-live="polite">Je bekijkt nu: Overzicht</p>
<p class="dkv__note">Factuur 2026-0412 staat klaar en de afspraak van donderdag 10:00 is bevestigd.</p>
</div>
<nav class="dkv__bar" aria-label="Portaal">
<a class="dkv__it" href="#dkv-overzicht" aria-current="page"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 11l8-6 8 6v8a1 1 0 0 1-1 1h-4v-6h-6v6H5a1 1 0 0 1-1-1z"/></svg><span class="dkv__tip">Overzicht</span></a>
<a class="dkv__it" href="#dkv-agenda"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="5" width="16" height="15" rx="2"/><path d="M4 10h16M9 3v4M15 3v4"/></svg><span class="dkv__tip">Agenda</span></a>
<a class="dkv__it" href="#dkv-berichten"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M4 6h16v10H9l-5 4z"/></svg><span class="dkv__tip">Berichten</span></a>
<a class="dkv__it" href="#dkv-documenten"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M7 3h7l5 5v13H7z"/><path d="M14 3v5h5"/></svg><span class="dkv__tip">Documenten</span></a>
<a class="dkv__it" href="#dkv-facturen"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 3h12v18l-3-2-3 2-3-2-3 2z"/><path d="M9 8h6M9 12h6"/></svg><span class="dkv__tip">Facturen</span></a>
<a class="dkv__it" href="#dkv-instellingen"><svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="3"/><path d="M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1"/></svg><span class="dkv__tip">Instellingen</span></a>
</nav>
</div>
</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 →