About
A frosted-glass now-playing music widget with album art, a seek scrubber, transport controls and a volume slider.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glass Player to your project and fits it to your theme.
Code
How Glass Player is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import { GlassPlayer } from "@/components/ui/glass-player";
export default function GlassPlayerDemo() {
return (
<div className="relative flex min-h-[480px] w-full items-center justify-center overflow-hidden rounded-xl bg-[conic-gradient(from_180deg,#60a5fa,#f472b6,#facc15,#34d399,#60a5fa)] p-8">
<GlassPlayer
title="Night Drive"
artist="Lo-Fi Collective"
duration={198}
/>
</div>
);
}








