Marble

Controls made of glass marbles that roll, knock and settle like the real thing.

Six controls built on one small rolling engine: every marble moves under gravity with rolling resistance, knocks into others as equal masses do, and its cat’s-eye turns by exactly the distance it rolls, while the light it focuses through the glass travels with it in its shadow. Marble Switch tips its track so the marble rolls down the groove and bounces gently off the end. Cradle Loader is a Newton’s cradle of real pendulums that hand the knock along the row and swing to a stop when done. Abacus Stepper flicks a bead across the rod for each unit, and the knock runs on through the beads it hits. Marble Tabs roll the marble along a groove of dimples to the chosen tab, overshooting and settling in. Marble Rating drops a marble into a cup for each point and lets the extra ones hop out and roll away. Run Progress rolls the marble down a zig-zag run to the current value and into the cup at 100%. Light and dark pages, keyboard and screen reader ready, reduced motion, zero dependencies.

Type: Component packs. Price: $2. Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Tags: animated toggle switch, newtons cradle loader, physics ui, number stepper, tabs component, rating component, creative progress bar, micro interaction.

What is inside (6 marble controls)

Good for: Toggle switches, Loaders and progress, Physics UI components.

More like this

More component packs