Audio Episode Player

A podcast episode block: cover art, title, show and facts in the header, the audio player below and the episode actions at the bottom.

Blocksaudio-episode-playerView JSON

The header renders the facts the player interface does not show, so keep `duration` and `publishedAt` as preformatted strings from your data. The actions are your own buttons: subscribe, share or download.

Preview

Ep. 393July 202500:20

Crew-11

Houston, We Have a Podcast

0:00

Four astronauts train for Crew-11, the next crew rotation flight to the International Space Station. The sample is the opening of the episode; the cover art doubles as the player poster.

Installation

Add the item with the shadcn CLI, or copy the source manually.

pnpm dlx shadcn@latest add litingyes/blocove/audio-episode-player

Requires a shadcn/ui project set up with Base UI primitives. Blocove is developed against the b0 preset, but it installs no base config or theme tokens: your own preset, fonts and colors stay in place.

Or install from the namespace after adding the registry: npx shadcn@latest add @blocove/audio-episode-player

Usage

Use the block
import { AudioEpisodePlayer } from "@/components/blocove/audio-episode-player"
export function LatestEpisode() {  return (    <AudioEpisodePlayer      episode={12}      title="Composable media, one item at a time"      show="The Blocove Podcast"      cover="/episode-cover.jpg"      src="/episode.m4a"      duration="42 min"      publishedAt="November 2026"      description="A short summary of what the episode covers."    />  )}

API Reference

Props accepted by the exported components.

AudioEpisodePlayer

A podcast episode: cover art, title, show and facts in the header, the audio player below, then the description and the actions. The cover doubles as the player poster.

PropTypeDefault
srcstringRequired
titlestringRequired
showstring-
coverstring-
episodenumber-
descriptionstring-
durationstring-
publishedAtstring-
actionsReactNode-
classNamestring-