</> ConvertAtlas Developer Tools
Bootstrap 5 · Intermediate

Dual Range Price Filter

Two range sliders forming a min–max price filter with live output.

Requires Bootstrap 5. Add the CDN tags below to your page (styles in <head>, scripts before </body>). The downloaded file already includes them.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<div class="card border-0 shadow-sm" style="max-width:340px"><div class="card-body">
  <label class="form-label small fw-semibold d-flex justify-content-between">Price filter <span class="text-primary" id="rdOut">$0 – $500</span></label>
  <input type="range" class="form-range" id="rdMin" min="0" max="1000" value="0">
  <input type="range" class="form-range" id="rdMax" min="0" max="1000" value="500">
</div></div>
var mn=document.getElementById('rdMin'),mx=document.getElementById('rdMax'),out=document.getElementById('rdOut');
function upd(){var a=Math.min(+mn.value,+mx.value),b=Math.max(+mn.value,+mx.value);out.textContent='$'+a+' – $'+b}
mn.oninput=upd;mx.oninput=upd;
Free to use.This component uses Bootstrap 5 (linked above). Copy any file, or download a ready-to-open .html page with the CDN links already included.