Skip to content

Abacus Slider

A numeric picker built as an abacus: wooden beads you drag, push in chains and bounce off the beam on a spring.

Plan
Pro · commercial license
Dependencies
React only
Props
11 (9 adjustable)

Included in Pro and Lifetime. See pricing

273 pcs

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
valuenumber | undefined"auto"Controlled value. If omitted, the abacus keeps its own number.
defaultValuenumber0Initial number when uncontrolled.
onChange(value: number) => voidundefinedCalled every time the user changes the number.
digitsnumber3Number of rods (digits), from 1 to 5.
maxnumber"10^digits − 1"Maximum value. Anything above it is clamped.
labelstring"Amount"Name of the control (also used by screen readers).
rodLabelsstring[]"[\"Ones\", \"Tens\", \"Hundreds\", \"Thousands\", \"Ten thousands\"]"Name of each rod for screen readers, from the last one (ones) to the first.
unitstring""Unit engraved next to the number on the plate.
soundbooleanfalseSynthesized wood sound when beads collide (only plays after the user touches the abacus).
autoplaybooleanfalseThe abacus jumps to random numbers on its own until someone touches it.
disabledbooleanfalseDisables the control.

Installation

With your license

1Set up the Pro registry once

Pro components aren't on npm or in the public shadcn registry: you install them with your license from Furin's private registry.

Use my license

2Install Abacus Slider

npx shadcn@latest add @furin-pro/abacus-slider

Dependencies

React
18 or later
Other libraries
none
License
commercial

Pro components install into your project: the code is yours and there's nothing else to download.

Keep exploring

  • Floor-by-floor navigation: a brass dial with a travelling needle, steel doors that close and open, and illuminated buttons.

    Controls

  • A 35 mm film strip gallery with sprocket holes and code-generated frames: drag with inertia, it bends over a roller and each photo develops from negative to color.

    Controls

  • The steps of a flow linked by metal gears that really mesh as they turn, with a little backlash between the teeth.

    Controls