Component packs › Spool › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | "Rewinding" | Caption and accessible text while loading. Default "Rewinding". |
doneLabel | string | "Ready" | Caption once complete. Default "Ready". |
caption | boolean | true | Show the caption (it stays for screen readers when hidden). Default true. |
size | number | Scale factor (1 = 220 px wide). | |
onDone | () => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: alternates loading and done every N ms. |
readonly isDone: booleancomplete(): voidreset(): voiddestroy(): voidimport RewindLoader from './RewindLoader';
<RewindLoader />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.