Chun Keat Lim

Translucent Cassette Player

Component 24

About

Realistic see-through cassette player. Click to play: reels turn, tape moves between packs, and the motor, belt, flywheel and gears spin behind the translucent casing. Working transport keys, auto-reverse, click sound, and fully customizable colours.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Translucent Cassette Player to your project and fits it to your theme.

Code

How Translucent Cassette Player is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { CassettePlayer } from "@/components/ui/translucent-cassette-player";

const settings = {
  casingColor: "#2E6B64",
  casingOpacity: 0.55,
  accentColor: "#D9772B",
  metalColor: "#A3A3A3",
  doorColor: "#C9C5C6",
  cassetteLabelColor: "#EEE8DA",
  tapeColor: "#4A2F1C",
  backgroundColor: "#F0F0F1",
  brandName: "sono",
  speed: 1,
  size: 640,
  showInternals: true,
  autoPlay: false,
  clickSound: true,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return <CassettePlayer {...s} className="min-h-screen" />;
}

More by Chun Keat Lim

View all
  • Chroma Sense Hero

    Chroma Sense Hero

    1
  • Ink Grid Hero

    Ink Grid Hero

    1