Audio
Podcast Player
NewAn episode player where a beam of light dissolves the cover into glowing glyphs while particles drift, with a waveform scrubber and chapters.
npx motionsnack add podcast-playerCustomize
<PodcastPlayer />Props
22 properties
| Property | Type | Default | Description |
|---|---|---|---|
| src | string | '' | Audio file. Without one the player simulates playback, so it can be tried without a file. |
| chapters | { id?: string; label: string; time: number }[] | 5 demo chapters | Chapters, shown as marks on the timeline; time is the start in seconds. |
| coverAlt | string | 'Dancer under blue neon light' | Alt text of the cover. |
| autoPlay | boolean | false | Start playing on load (browsers allow it only muted or after a click). |
| playLabel / pauseLabel | string | 'Play episode' / 'Pause episode' | Accessible names of the play button. |
| labels | { seek?, skipBack?, skipForward?, speed?, position? } | English | Other UI strings; {n}, {speed}, {time}, {total}, {chapter} are filled in. |
| locale | string | 'en-US' | BCP 47 locale of the spoken times. |
| particleCount | number | - | Deprecated, ignored. |
| beamDuration | number | - | Deprecated, ignored. |
| bars | number | - | Deprecated, ignored. |
| className | string | '' | Extra classes on the card. |
| podcastName | string | 'Frame by Frame' | Name of the show. |
| episodeNumber | string | 'Episode 42' | Shown next to the show name. Empty hides it. |
| episodeTitle | string | 'Designing interfaces that move people' | Title of the episode. |
| host | string | 'with Nora Vale and Sam Ortiz' | Host or guests line. Empty hides it. |
| date | string | 'Nov 18, 2026' | Release date as text. Empty hides it. |
| coverSrc | string | '/sections/motion-02.jpg' | Cover art of the episode. |
| duration | number | 2940 | Length when there is no audio file. |
| glowColor | string | '#0044ff' | Colour of the ambient glow, the beam's halo and the far particles (decorative light). |
| glowColorTo | string | '#9cc2ff' | Colour of the beam, the glyphs and the near particles. |
| skipBack | number | 15 | Seconds one press of the back button skips. |
| skipForward | number | 30 | Seconds one press of the forward button skips. |
About Podcast Player
Podcast Player gives an episode the stage it deserves. Above the controls sits a small scene: particles drift up through a soft glow, and while the episode plays a beam of light sweeps across the cover, turning everything behind it into flickering glyphs that spill out as sparks. Below it the show name, episode number, title, hosts, date and length, then a waveform that works as the scrubber: played bars light up, the bars around the playhead pulse gently, chapter marks sit above it and hovering shows the time and chapter you would jump to. The time rolls digit by digit, the current chapter fades in as it changes, the skip buttons spin as they jump 15 and 30 seconds, play turns into pause and the speed chip rolls through 1x to 2x. It plays a real audio file or simulates playback for a demo, works from the keyboard and pauses its scene for reduced motion.
What's included
- Beam that dissolves the cover into glyphs and sparks
- Drifting particles and glow in the colours you pick
- Waveform scrubber with a pulsing playhead and hover preview
- Chapter marks and a chapter label that fades in
- Rolling time, spinning skips and a speed chip
- Show name, episode, hosts, date and length
- Real audio file or simulated playback, keyboard ready
- Type
- Animated React audio component
- Library
- Components · Audio
- Stack
- Next.js, React, Tailwind CSS