Astro components for the Spotify-style persistent bottom-bar audio player. Mount the bar once in your layout, then drop play/queue triggers anywhere.
npm install @arraypress/waveform-bar-astro @arraypress/waveform-bar @arraypress/waveform-player
--- import { WaveformBar, WaveformBarTrigger } from '@arraypress/waveform-bar-astro'; --- <WaveformBarTrigger url="/audio/track.mp3" title="My Track" artist="Producer" /> <!-- Render once, in your root layout --> <WaveformBar />
Full props, the imperative API, and setup notes live in the docs.
Astro guide — install, props, the imperative API, and SSR notes. All four Astro wrappers (player / bar / playlist) are on that page.
MIT © ArrayPress