Early accessBlack Friday: 20% off new projects with Codevibe, plus 20% off Hostinger hosting. Get your codeBlack Friday: 20% off. Get your code
AboutContact
Book a scoping callhello@codevibe.in+91 70677 09224

Comparison · Original concept

Triptych

Three states of one scene side by side: two dividers, three panels, one picture across the seasons.

Free codeMIT licenceKeyboard accessible
Download ZIP

How to play

Drag two dividers to compare three versions.

Keyboard

Tab to the slider, then ← → to step, PgUp PgDn to jump, Home End for the ends.

Under the surface

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.

What it needs

No libraries, just HTML, CSS and JavaScript

The concept

What Triptych really is.

Three states of one scene side by side: two dividers, three panels. It compares more than two versions in one picture.

Where to use it

5 real-world places this slider fits, from product UIs to marketing pages.

  1. 01

    Pricing plans

    Basic, Pro and Enterprise visuals in one frame.

  2. 02

    Seasonal products

    A garden, outfit or room across seasons.

  3. 03

    A/B/C design reviews

    Comparing three design options.

  4. 04

    Medical imaging

    Comparing three scans over time.

  5. 05

    Real estate

    Bare, furnished and renovated versions of a room.

Implementation

The source, ready to copy.

Two files and a small shared scaffold. Copy them, or take the whole package.

ZIP

Loading slider.js…

Plain HTML, CSS and JavaScript · no build step · MIT licenceThe ZIP adds a standalone demo page, a React wrapper and the licence file

Work with Codevibe

Like the Triptych? We can build it for you.

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.

  • Custom interactions designed around your brand and your users, not a template.
  • Built properly: fast, responsive and accessible, like every slider here.
  • From one component to a full product: websites, web apps, mobile apps and design systems.

Just want this slider? Download the code free, no form needed.

What are you building?

1 / 3

Two taps. A senior engineer, not a salesperson, reads this.

Project
When do you want to start?

NDA on request before detailed scoping. Your details are used only to reply. Privacy

More sliders

All 39 sliders →
Comparison · original

Radial Wipe

Compare by sweeping a clock hand: a blueprint becomes the built house in the sector you have swept.

Sweep the clock hand around the discExplore Radial Wipe →
Comparison

Before / after

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 rightExplore Before / after →
Traditional Value

Lamp dimmer

The baseline every other slider inherits, presented as a lamp dimmer: one native range, a filled track, a value tooltip.

Drag the thumb to dim the lampExplore Lamp dimmer →
// LET'S BUILD SOMETHING

Ready to build?

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.

Call +91 70677 09224
hello@codevibe.in · +91 70677 09224 · Gurugram, India