Cassette Player
Analog cassette deck with dual spinning reels, dynamic tape spool thickness, Side A/B flipping, and chunky mechanical transport keys.
Interactive Cassette Deck
Press Play to spin the dual reels, scrub the tape position to watch spool thickness shift, or flip between Side A and Side B.
cassette-player-playground.tsx
SHIMOKITA LATE NIGHTS
Setagaya Tape Club
C-60 · CrO2A
050100
09:36 / 30:00
Accent
Quick Import
Example.tsxtsx
1import { CassettePlayer } from "@rekodo/react";2
3export function Example() {4 return (5 <CassettePlayer6 title="SHIMOKITA LATE NIGHTS"7 artist="Setagaya Tape Club"8 side="A"9 isPlaying10 progress={0.35}11 duration={1800}12 onPlayPause={() => {}}13 onFlipSide={() => {}}14 />15 );16}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| title / artist | string | — | Tape title and artist printed on the J-card label sticker. |
| side | "A" | "B" | "A" | Active cassette side indicator. |
| tapeType | string | "C-60 · CrO2" | Cassette specification label. |
| isPlaying | boolean | false | Spins both sprocket reels smoothly while true. |
| progress | number | 0.35 | Playback position (0..1) controlling left/right wound tape thickness. |
| duration | number | 1800 | Total side duration in seconds. |
| accent | "rose" | "violet" | "amber" | "rose" | Label stripe and active transport button accent color. |
| onPlayPause / onRewind / onFastForward / onFlipSide / onSeek | callbacks | undefined | Engine-agnostic mechanical transport controls. |