Component packs › Spool › Rewind Loader

Rewind Loader

A cassette rewinds at speed, hubs turning as their packs demand, and reverses at the end; complete() brakes it with the auto-stop jolt.

Rewind Loader is a loader from Spool, a component pack with 6 deck controls: Controls built from the mechanics of a tape deck: latching keys, reels, drums and a VU needle. Price: $2 for the whole pack.

Built with: packs trade size, reverse at end of tape, auto-stop on done.

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.

Rewind Loader props

PropTypeDefaultDescription
labelstring"Rewinding"Caption and accessible text while loading. Default "Rewinding".
doneLabelstring"Ready"Caption once complete. Default "Ready".
captionbooleantrueShow the caption (it stays for screen readers when hidden). Default true.
sizenumberScale factor (1 = 220 px wide).
onDone() => void
darkboolean
autoplaynumber | falseShowcase mode: alternates loading and done every N ms.

Methods on the ref

Use it in React

import RewindLoader from './RewindLoader';

<RewindLoader />

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

More in Spool

Good for: Skeuomorphic UI.