Audio Player 3 block design & features
AudioPlayer3 is an album player built with shadcn/ui and Tailwind CSS, laid out like a music streaming app. Large cover art sits above the album title, the artist, the release year, the song count and running time, with a play button, a shuffle toggle and a save button.
The track list numbers each song and shows the artist and any featured guest beside the length. The playing song swaps its number for a small animated equaliser and turns the primary colour, and hovering any other row shows a play icon in place of its number. A now playing bar along the bottom has shuffle, previous, play, next and repeat, which cycles between off, all and one, plus a seek bar with elapsed and total time and a volume slider with a mute button.
Songs advance on their own using a simulated clock, which starts shortly after load so the equaliser and progress move in previews, and each track can take an audioSrc for real playback. Reduced motion visitors see a paused player with still bars. On phones the cover and track list stack and the volume control is hidden, which suits artist sites, label pages and album launch pages.
