Component packs › Pips › Tumble Loader
A die tumbles end over end on a moving floor, pivoting on its leading edge and rebounding as each face lands.
Tumble Loader is a loader 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: edge pivot, treadmill floor, stop finishes the turn.
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 |
|---|---|---|---|
running | boolean | true | Starts rolling. Default true. |
label | string | "Loading" | Accessible status text. Default "Loading". |
size | number | 46 | Die size in px. Default 46. |
pace | number | 0.36 | Seconds per quarter turn. Default 0.36. |
readonly running: booleanstart(): voidstop(): void: Finishes the current turn, then rests.destroy(): voidimport TumbleLoader from './TumbleLoader';
<TumbleLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.