About
Retro personal cassette player in real CSS 3D. Press Play and the reels turn as the tape winds; fast forward, rewind, auto reverse, a rolling counter, a hinged door and a thumb-wheel volume all work. Themeable colours, light and dark mode, keyboard accessible.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Pocket Cassette Player to your project and fits it to your theme.
Code
How Pocket Cassette Player is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { PocketCassettePlayer } from "@/components/ui/pocket-cassette-player";
const settings = {
bodyColor: "#C3C6CB",
accentColor: "#E8692C",
keyColor: "#2A2A2D",
windowTint: "#3A2716",
cassetteColor: "#26262A",
labelColor: "#F3EBDD",
tapeColor: "#5A3A24",
brandName: "CLEF",
modelName: "PS-2",
tapeTitle: "Summer Mix '86",
speed: 1,
size: 600,
doorOpen: false,
showCassette: true,
autoReverse: true,
tilt: true,
autoPlay: false,
clickSound: true,
};
export default function Demo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
return <PocketCassettePlayer {...s} className="min-h-screen" />;
}






