Component packs › Groove › Chapter Bar

Chapter Bar

The progress bar is split into chapters that magnify like a dock under the pointer, with the chapter title riding above; skip, speed and a live chapter name.

Chapter Bar is a podcast player from Groove, a component pack with 8 components: Audio components with real sound, made live in the browser. Price: $2 for the whole pack.

Built with: dock magnify, chapter keys, speed.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Chapter Bar props

PropTypeDefaultDescription
srcstring
showstring
episodestring
durationnumberLength in seconds of the episode the chapters describe.
chaptersChapter[]
theme'dark' | 'light'
autoplaybooleanShowcase mode: plays fast and scrubs over chapters until touched.

Methods on the ref

Use it in React

import ChapterBar from './ChapterBar';

<ChapterBar />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Groove

Good for: Audio player UI.