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

Weegschaal die terugverdient New

A balance with the investment on the left and one coin of savings per year on the right; slide through the years and the beam tips on a spring while the pans swing on. The year the balance turns is the payback moment. Controlled with an ordinary range slider, so the keyboard works too. For an installer of solar panels, heat pumps or insulation. With reduced motion the beam settles at once.

Zonnepanelen, 10 stuks

Links € 5.400 investering, rechts € 780 besparing per jaar.

Na 3 jaar: € 2.340 bespaard.

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.
<!-- Weegschaal die terugverdient · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="fyg">
<svg class="fyg__svg" viewBox="0 0 220 160" aria-hidden="true">
<path class="fyg__paal" d="M110 40V150M80 152H140"/>
<g class="fyg__l"><path class="fyg__draad" d=""/><path class="fyg__bak" d=""/><g class="fyg__in"></g></g>
<g class="fyg__r"><path class="fyg__draad" d=""/><path class="fyg__bak" d=""/><g class="fyg__in"></g></g>
<line class="fyg__balk" x1="30" y1="40" x2="190" y2="40"/>
<circle class="fyg__as" cx="110" cy="40" r="5"/>
</svg>
<div class="fyg__tekst">
<h3 class="fyg__h">Zonnepanelen, 10 stuks</h3>
<p class="fyg__p">Links € 5.400 investering, rechts € 780 besparing per jaar.</p>
<label class="fyg__lbl">Jaren na plaatsing: <output class="fyg__out">3</output><input class="fyg__range" type="range" min="0" max="15" step="1" value="3"></label>
<p class="fyg__st" aria-live="polite">Na 3 jaar: € 2.340 bespaard.</p>
</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 →