Component packs › Coil › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 40 | 0–100. Default 40. |
step | number | ||
label | string | "Brightness" | Name and accessible label. Default "Brightness". |
disabled | boolean | ||
onChange | (value: number) => void |
readonly value: numbersetValue(value: number, silent?: boolean): voiddestroy(): voidimport PogoSlider from './PogoSlider';
<PogoSlider />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.