react-youtube-jukebox
A YouTube jukebox that feels like product UI. Small API, light bundle, and lazy-loaded player.
Two main exports — Jukebox for floating playback and PlayList for inline panels — with automatic styles and a small core bundle. React stays external, and the YouTube iframe API loads on demand.

import { Jukebox } from "react-youtube-jukebox"; const tracks = [ { videoId: "yTg4v2Cnfyo", title: "Soul Below", artist: "Ljones" }, { videoId: "s4MQku9Mkwc", title: "Something About Us", artist: "Daft Punk" },]; export function Page() { return <Jukebox tracks={tracks} theme="ride" chrome="classic" />;}Two Ways to Play
A floating player fixed to the viewport edge. Stays compact by default, expands on demand, and follows the user across page navigation.
Jukebox APIAn inline music panel that lives inside your page layout. Grouped tabs, cover art, and a built-in player — no portal, no overlay.
PlayList APIHighlights
Start compact, expand on demand, and keep playback controls close to the viewport edge instead of inside page content.
Keep React as a peer dependency, ship a small core bundle, and load the YouTube iframe API only when the player mounts.
Use "renderExpandedContent" when the built-in player shell is not enough and you need a custom layout around the same controls.