Component packs › Coil › Pogo Slider

Pogo Slider

Click the track and the ball-and-spring thumb hops there in an arc, lands, squashes its coil and settles in smaller bounces.

Pogo Slider is a slider from Coil, a component pack with 6 spring controls: Controls on real coil springs: they compress, stretch, overshoot and settle like wire does. Price: $2 for the whole pack.

Built with: hop arcs, landing squash, lean while dragged.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Pogo Slider props

PropTypeDefaultDescription
valuenumber400–100. Default 40.
stepnumber
labelstring"Brightness"Name and accessible label. Default "Brightness".
disabledboolean
onChange(value: number) => void

Methods on the ref

Use it in React

import PogoSlider from './PogoSlider';

<PogoSlider />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Coil

Good for: Buttons.