Component packs › Marble › Abacus Stepper
Each unit flicks a bead across the rod; it slides, clacks into the group and the knock runs on through the row.
Abacus Stepper is a stepper from Marble, a component pack with 6 marble controls: Controls made of glass marbles that roll, knock and settle like the real thing. Price: $2 for the whole pack.
Built with: friction slide, bead collisions, native buttons.
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 | ||
max | number | ||
label | string | ||
onChange | (v: number) => void | ||
autoplay | number | false |
readonly value: numberset(v: number): voiddestroy(): voidimport AbacusStepper from './AbacusStepper';
<AbacusStepper />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Toggle switches, Loaders and progress, Physics UI components.