Component packs › Fulcrum › Scale Compare

Scale Compare

Every vote drops a brass weight into its pan: it lands, the pan dips and swings on its chains and the beam tips to the leader.

Scale Compare is a comparison 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: falling weights, pans swing on chains, pointer reads the lead.

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.

Scale Compare props

PropTypeDefaultDescription
leftScaleCompareSide
rightScaleCompareSide
interactivebooleanWhether the pans take votes when clicked.
onChange(left: number, right: number) => void
theme'light' | 'dark'
autoplaynumber | falseShowcase mode: adds a vote every N ms while visible.

Methods on the ref

Use it in React

import ScaleCompare from './ScaleCompare';

<ScaleCompare />

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

More in Fulcrum

Good for: Skeuomorphic UI.