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

Repeating Image Transition

Click a thumbnail and a staircase of copies runs from the small image to the large panel, after which the project stays with its name and place. For a portfolio or case overview; with reduced motion the image swaps without movement.

Kookeiland in eiken met keukenwand
Kookeiland in eikenDelft, 2025

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.
<!-- Repeating Image Transition · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="rit">
  <figure class="rit__groot">
    <img class="rit__beeld" src="https://neddev.com/lab-media/cases-filter-masonry-5.webp" alt="Kookeiland in eiken met keukenwand">
    <figcaption class="rit__onder"><strong class="rit__naam">Kookeiland in eiken</strong><span class="rit__plek">Delft, 2025</span></figcaption>
  </figure>
  <div class="rit__duimen" role="group" aria-label="Kies een project">
    <button class="rit__duim" type="button" aria-pressed="true" data-naam="Kookeiland in eiken" data-plek="Delft, 2025" data-alt="Kookeiland in eiken met keukenwand"><img src="https://neddev.com/lab-media/cases-filter-masonry-5.webp" alt=""><span class="rit__sr">Kookeiland in eiken, Delft</span></button>
    <button class="rit__duim" type="button" aria-pressed="false" data-naam="Boerenkeuken met houten fronten" data-plek="Gouda, 2024" data-alt="Boerenkeuken met houten fronten en tegelvloer"><img src="https://neddev.com/lab-media/cases-filter-masonry-1.webp" alt=""><span class="rit__sr">Boerenkeuken, Gouda</span></button>
    <button class="rit__duim" type="button" aria-pressed="false" data-naam="Trapkast met lades" data-plek="Leiden, 2025" data-alt="Witte trap met lades in de treden"><img src="https://neddev.com/lab-media/cases-filter-masonry-3.webp" alt=""><span class="rit__sr">Trapkast met lades, Leiden</span></button>
    <button class="rit__duim" type="button" aria-pressed="false" data-naam="Woonkamer met haard" data-plek="Haarlem, 2024" data-alt="Lichte woonkamer met haard en eiken vloer"><img src="https://neddev.com/lab-media/carousel-basis-1.webp" alt=""><span class="rit__sr">Woonkamer met haard, Haarlem</span></button>
    <button class="rit__duim" type="button" aria-pressed="false" data-naam="Badkamer met inloopdouche" data-plek="Utrecht, 2025" data-alt="Badkamer met zwarte stalen douchewand"><img src="https://neddev.com/lab-media/carousel-basis-3.webp" alt=""><span class="rit__sr">Badkamer, Utrecht</span></button>
    <button class="rit__duim" type="button" aria-pressed="false" data-naam="Boekenwand tot het plafond" data-plek="Amersfoort, 2023" data-alt="Eiken boekenwand met leesplek bij het raam"><img src="https://neddev.com/lab-media/cases-filter-masonry-6.webp" alt=""><span class="rit__sr">Boekenwand, Amersfoort</span></button>
  </div>
  <div class="rit__spoor" aria-hidden="true"></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 →