Controls built from the mechanics of a tape deck: latching keys, reels, drums and a VU needle.
Six controls taken from the inside of a tape deck, each one working the way the machine does. Piano Keys is a radio group of latching transport keys: the one you press catches on the latch and stays down while the old one is kicked back up. Reel Progress winds tape from one open reel to the other, the packs trading size so the tape keeps its length and each reel spinning at the speed its radius needs. Tape Counter rolls black mechanical drums that carry like real gears, and its reset spins every drum forward to zero. Eject Modal is a confirm dialog in a cassette bay: the smoked door swings out on a damped hinge and the question is written on the tape label. Level Needle is a backlit VU meter with the real scale and needle ballistics, plus a peak lamp. Rewind Loader rewinds a cassette at speed and stops with the auto-stop jolt when you call complete(). Light and dark pages, keyboard and screen reader ready, reduced motion, zero dependencies.
Type: Component packs. Price: $2. Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). Tags: retro UI components, radio button group animation, skeuomorphic UI, progress bar, VU meter, counter animation, modal dialog, loading animation.
What is inside (6 deck controls)
Piano Keys: Press a key and it hitches on the latch and stays down, while the key that was down is kicked back up past its rest and settles.
Reel Progress: Tape winds from reel to reel as the value grows; the packs trade size so the length is conserved and the emptying reel spins faster.
Tape Counter: Black drums roll like a deck counter: higher drums move only while the one below carries from 9 to 0, and reset spins each forward to zero.
Eject Modal: Press Eject and the smoked door swings out on a damped hinge while the cassette rises; the question and its answers are written on the label.
Level Needle: A backlit VU meter on the true scale, with needle ballistics you can see: a 300 ms rise, a small overshoot and a peak lamp above 0 VU.
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.