Component packs › Pips › Tumble Loader

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.

Tumble Loader props

PropTypeDefaultDescription
runningbooleantrueStarts rolling. Default true.
labelstring"Loading"Accessible status text. Default "Loading".
sizenumber46Die size in px. Default 46.
pacenumber0.36Seconds per quarter turn. Default 0.36.

Methods on the ref

Use it in React

import TumbleLoader from './TumbleLoader';

<TumbleLoader />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Pips

Good for: Skeuomorphic UI.