Radial Wipe
Compare by sweeping a clock hand: a blueprint becomes the built house in the sector you have swept.
Comparison
The comparison everyone knows: a sketch becomes a painting across a divider. Own build with a real native control and ARIA.
Drag the divider left and right.
Tab to the slider, then ← → to step, PgUp PgDn to jump, Home End for the ends.
A native range input is the real control: it owns the value, the keyboard and what screen readers hear. Everything you see is drawn from it.
No libraries, just HTML, CSS and JavaScript
The concept
The classic before and after: drag a divider to reveal one version over another. It also has press-and-hold and split-view modes.
5 real-world places this slider fits, from product UIs to marketing pages.
Showing the effect of a filter, retouch or AI upscale.
Before and after service results.
Treatment results, with consent.
Comparing satellite images over time.
Old versus new interface comparisons.
Implementation
Two files and a small shared scaffold. Copy them, or take the whole package.
Loading slider.js…
Work with Codevibe
If this design fits your product, we are happy to adapt it to your brand, or design something new that feels just as good to use. The same team that made this library builds websites, apps and product UIs that people enjoy using.
Just want this slider? Download the code free, no form needed.
Compare by sweeping a clock hand: a blueprint becomes the built house in the sector you have swept.
Three states of one scene side by side: two dividers, three panels, one picture across the seasons.
The baseline every other slider inherits, presented as a lamp dimmer: one native range, a filled track, a value tooltip.
Tell us what you are working on. We will respond within 12 hours on working days with an honest assessment and a recommended path forward.