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

Radio Pill Group

Pill choice with sliding background indicator

How to use it

  1. Paste the HTML where the forms & inputs 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.
<!-- Radio Pill Group · © 2026 NedDev BV · NedDev Lab-licentie (gratis gebruik, niet doorverkopen) · neddev.com/nl/lab/gebruik/#licentie -->
<div class="jouw-container">
<div class="rpg-wrap"><span class="rpg-glider"></span><label class="rpg-pill"><input type="radio" name="rpg" checked><span>Maand</span></label><label class="rpg-pill"><input type="radio" name="rpg"><span>Kwartaal</span></label><label class="rpg-pill"><input type="radio" name="rpg"><span>Jaar</span></label></div>
</div>

More forms & inputs

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 →