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

Shape-Based

Thermostat ring

A bead travels 270 degrees around a ring; the centre number and the colour run from cold to warm.

Free codeMIT licenceKeyboard accessible
Download ZIP

How to play

Drag the bead around the ring.

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 Thermostat ring really is.

A bead travels around a 270° ring with a big number in the middle, and the colour moves from cold to warm. The ring has a clear start and end, unlike a free-spinning dial.

Where to use it

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

  1. 01

    Thermostats and AC apps

    Target temperature for smart climate control.

  2. 02

    Fitness trackers

    Daily goals and progress rings you can also set by dragging.

  3. 03

    Timers

    Cooking, focus or meditation timers set by dragging around the ring.

  4. 04

    Risk and score pickers

    Credit-limit or risk-appetite selectors in finance apps.

  5. 05

    Speed or intensity controls

    Treadmill speed, fan level or water pressure on device apps.

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 Thermostat ring? 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 →
Shape-Based

Rotary knob

A hi-fi volume knob you turn in place; the LED halo fills and a tone rises with it.

Turn the knob; a halo of LEDs and a soft tone followExplore Rotary knob →
Shape-Based · original

Type Rail

The word is the track. Letters bulge and fill as the thumb passes over them.

Drag along the word; the letters swell under the thumbExplore Type Rail →
// 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