Component packs › Pressworks › Tally Clicker
Every press drives the plunger and turns the ones wheel; the next wheel only rolls during 9 to 0, and the knurled knob spins every wheel forward to zero.
Tally Clicker is a counter from Pressworks, a component pack with 8 buttons: Eight buttons, each a different real mechanism you can feel. Price: $2 for the whole pack.
Built with: digit wheels with a real carry, reset spins each wheel, plunger spring.
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 | Starting count. | |
label | string | Engraved under the window. | |
disabled | boolean | ||
onChange | (value: number) => void | ||
theme | 'light' | 'dark' | ||
size | number | Scale factor. 1 = 220 × 232 px. | |
autoplay | number | false | Showcase mode: counts a few clicks every N ms while visible. |
readonly value: numberincrement(): voidreset(): voidsetValue(value: number): voidsetDisabled(disabled: boolean): voiddestroy(): voidimport TallyClicker from './TallyClicker';
<TallyClicker />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.