Audio Player 8 block design & features
AudioPlayer8 is an audiobook sample section built with shadcn/ui. A flat colour typographic cover with a creased spine and visible page edges sits on a soft panel beside the book's title, author, blurb and details. Below them a sample card holds a play button, a waveform seek bar, the opening passage of the book and a credit for the narrator, followed by links to buy the audiobook or read the first chapter.
The sample starts playing on its own. As it runs the waveform fills from left to right and the passage lights up word by word in step with the narration, with short pauses at commas and full stops. Clicking or dragging along the waveform, or using the arrow keys on it, jumps to any point and the passage catches up. Pass a sample recording to use real audio and the word timings stretch to fit it; without one the player runs on a simulated clock.
Visitors who prefer reduced motion get a paused sample they can start themselves. On phones the cover sits above the details and sample card. It suits publishers, audiobook stores, author sites and book launch pages, and uses theme tokens so it works in light and dark mode.
