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

Theme Toggle Reveal

Light and dark switch where the new theme grows as a circle from the button across the block. Uses a temporary copy and clip-path, so it works in every browser and only inside its own block.

Bureau Kade

Huizen die met hun bewoners meegroeien.

Architecten in Leiden voor verbouw, nieuwbouw en herbestemming.

How to use it

  1. Paste the HTML where the components 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.
<!-- Theme Toggle Reveal · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="ttr">
  <div class="ttr__vlak" data-thema="licht">
    <div class="ttr__balk">
      <span class="ttr__merk">Bureau Kade</span>
      <button class="ttr__knop" type="button" aria-pressed="false" aria-label="Donker thema">
        <svg class="ttr__ico ttr__ico--zon" viewBox="0 0 24 24" aria-hidden="true"><circle cx="12" cy="12" r="4.2"/><path d="M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M5.3 18.7l1.6-1.6M17.1 6.9l1.6-1.6"/></svg>
        <svg class="ttr__ico ttr__ico--maan" viewBox="0 0 24 24" aria-hidden="true"><path d="M19.5 14.6A8 8 0 0 1 9.4 4.5a8 8 0 1 0 10.1 10.1z"/></svg>
      </button>
    </div>
    <div class="ttr__body">
      <h3 class="ttr__kop">Huizen die met hun bewoners meegroeien.</h3>
      <p class="ttr__tekst">Architecten in Leiden voor verbouw, nieuwbouw en herbestemming.</p>
    </div>
  </div>
</div>
</div>

More components

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 →