Balance-Scale Comparison

Motion Components · Vol. 2

Component

Balance-Scale Comparison

A real-time three.js brass balance. Pick what to compare and weights drop onto the pans, the beam swings on a spring and settles tipped toward us. Click the scene to nudge it.

Variants

Sizes and states, all built from the same markup.

Compact card, Support round
Default card, Reach round
Disabled

Usage

Paste the markup, include assets/css/tokens.css and assets/css/tailwind.css, then run the script from this page.

Accessibility