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

Zoeken dat uit het menu openklapt New

The search icon in the header pushes the menu links aside and becomes a search field across the whole header. Below it a panel drops down with popular topics that filters while you type, highlights the match and announces the number of results. Esc, the close button or a click on the page closes it, and focus returns to the icon. Unlike a Ctrl K search this stays inside the header itself: handy for a shop or service business with a short header.

Kunststof kozijnen op maat, in een dag geplaatst

Gratis inmeten in Delft, Den Haag en Rijswijk. Vanaf € 495 per kozijn inclusief HR++ glas.

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.
<!-- Zoeken dat uit het menu openklapt · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="zvm">
<header class="zvm__head">
<a class="zvm__logo" href="#zvm">Kozijnenhuis Delft</a>
<nav class="zvm__nav" aria-label="Hoofdmenu"><a href="#zvm-k">Kozijnen</a><a href="#zvm-d">Deuren</a><a href="#zvm-s">Showroom</a></nav>
<form class="zvm__form" role="search" action="#zvm"><label class="zvm__vh" for="zvm-q">Zoek op de site</label><svg class="zvm__ic" viewBox="0 0 16 16" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="M10.5 10.5L14 14"/></svg><input class="zvm__in" id="zvm-q" type="search" autocomplete="off" placeholder="Zoek kozijnen, deuren, onderhoud" aria-controls="zvm-panel" tabindex="-1"></form>
<button class="zvm__btn" type="button" aria-expanded="false" aria-controls="zvm-panel" aria-label="Zoeken openen"><svg class="zvm__o" viewBox="0 0 16 16" aria-hidden="true"><circle cx="7" cy="7" r="4.5"/><path d="M10.5 10.5L14 14"/></svg><svg class="zvm__x" viewBox="0 0 16 16" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8"/></svg></button>
</header>
<div class="zvm__panel" id="zvm-panel" hidden>
<p class="zvm__ph">Veel gezocht</p>
<ul class="zvm__res"></ul>
<p class="zvm__none" hidden></p>
<p class="zvm__vh zvm__live" aria-live="polite"></p>
</div>
<div class="zvm__page">
<h3 class="zvm__h">Kunststof kozijnen op maat, in een dag geplaatst</h3>
<p class="zvm__p">Gratis inmeten in Delft, Den Haag en Rijswijk. Vanaf &euro; 495 per kozijn inclusief HR++ glas.</p>
</div>
<div class="zvm__dim" aria-hidden="true"></div>
</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 →