Component packs › Fulcrum › Counterweight Slider
The rail is a balance beam: slide the brass poise and the beam leans with it, while the weight swings on its hook.
Counterweight Slider is a slider from Fulcrum, a component pack with 6 balance controls: Controls that weigh things: beams tip, pans swing and mobiles rebalance. Price: $2 for the whole pack.
Built with: beam tilt from the poise, plumb hanging weight, pointer projected on the beam.
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 | ||
min | number | ||
max | number | ||
step | number | ||
unit | string | Unit after the value, e.g. "kg". | |
label | string | Accessible name. | |
disabled | boolean | ||
onChange | (value: number) => void | ||
theme | 'light' | 'dark' | ||
autoplay | number | false | Showcase mode: moves the poise every N ms while visible. |
readonly value: numbersetValue(value: number): voiddestroy(): voidimport CounterweightSlider from './CounterweightSlider';
<CounterweightSlider />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.