Component packs › Pips › Dice Stepper
Each step tips the die onto the next face; past six a second die drops onto the felt and bounces.
Dice Stepper is a stepper from Pips, a component pack with 6 dice controls: Controls built from dice that tumble, bounce and land the way dice do. Price: $2 for the whole pack.
Built with: true face order, drop and bounce, spinbutton.
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 | 3 | Default 3. |
min | number | 1 | Default 1. |
max | number | 12 | Up to 12. Default 12. |
label | string | Accessible name, e.g. "Players". | |
disabled | boolean | ||
onChange | (value: number) => void | ||
autoplay | number | false | Showcase mode: steps up and down every N ms while visible. |
readonly value: numbersetValue(value: number, silent?: boolean): voiddestroy(): voidimport DiceStepper from './DiceStepper';
<DiceStepper />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.