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

Hover-bewegingen · groeien, zweven, wiebelen, kantelen New

Four small 2D hover moves in one demo: pick grow, float, wiggle or tilt and try them on a button, an icon tile and a price tag. Each move is one transform rule in 180 to 400 ms; wiggle plays once and does not loop. Also works on keyboard focus, with reduced motion only the colour change stays. Use one per site, on the elements that deserve attention.

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.
<!-- Hover-bewegingen · groeien, zweven, wiebelen, kantelen · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="h2d" data-mode="groei">
<div class="h2d__seg" role="radiogroup" aria-label="Hoverbeweging kiezen">
<label class="h2d__opt"><input type="radio" name="h2d-mode" value="groei" checked><span>Groeien</span></label>
<label class="h2d__opt"><input type="radio" name="h2d-mode" value="zweef"><span>Zweven</span></label>
<label class="h2d__opt"><input type="radio" name="h2d-mode" value="wiebel"><span>Wiebelen</span></label>
<label class="h2d__opt"><input type="radio" name="h2d-mode" value="kantel"><span>Kantelen</span></label>
</div>
<div class="h2d__row">
<a class="h2d__fx h2d__btn" href="#hv-2d-set">Offerte aanvragen</a>
<a class="h2d__fx h2d__ico" href="#hv-2d-set" aria-label="Bel de servicedesk"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6.6 3.5h3l1.5 4-2 1.3a10.5 10.5 0 0 0 6.1 6.1l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A16.6 16.6 0 0 1 4.6 5.7a2 2 0 0 1 2-2.2z"/></svg></a>
<a class="h2d__fx h2d__tag" href="#hv-2d-set"><span class="h2d__tn">Cv-ketel onderhoud</span><span class="h2d__tp">€ 89</span></a>
</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 →