Audio Player 11 block design & features
AudioPlayer11 is a personalised mixes shelf built with shadcn/ui and Tailwind CSS, laid out like the home screen of a music streaming app. A heading and short line sit above a sideways scrolling row of eight mixes, each with a flat colour typographic cover, the mix name in large type and a few of the artists inside it, plus previous and next arrows for moving along the shelf.
Hovering or focusing a mix slides a round play button up into the corner of its cover, and clicking it starts that mix. The playing card keeps its button visible, shows a small equaliser badge and turns its title the primary colour, while a sticky now playing bar beneath the shelf updates with the cover, track, artist and mix, a like button, previous, play and next controls and a seek bar. Below that, a recently played grid of six compact tiles with small covers plays albums, artists and playlists through the same bar.
Playback runs on a simulated clock that starts shortly after load and moves through the first few mixes every five seconds until someone interacts, scrolling the shelf to keep the playing card in view, and every track can take an audioSrc for real audio. Reduced motion visitors see a paused shelf with still bars. On phones the shelf scrolls by swipe, the arrows hide, the bar stacks its seek line under the controls and the recently played grid becomes a single column.
