Music Player

Music Player: Full dark player card with cover art, album info, progress scrubber with times, and transport controls. Not a bar — the whole now-playing screen. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Music Player

npx motion-ui-skill add music-player

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Source files

Music Player

Full dark player card with cover art, album info, progress scrubber with times, and transport controls. Not a bar — the whole now-playing screen.

Install

npx motion-ui-skill add music-player

Dependencies

  • clsx
  • lucide-react
  • next
  • react
  • tailwind-merge

Usage

"use client";

import { MusicPlayerCard } from "@/components/audio/music-player-card";

export function MusicPlayerCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <MusicPlayerCard />
    </div>
  );
}

API Reference

MusicPlayerCard

Prop Type Default Required Description
className string — No Additional CSS classes

Browse this category