Skip to content
Calm motion: animations on this site only fade, with no movement

Episode list ​

The episodes of a season with the length, a summary, and the progress

Lists the episodes of a show or a podcast, on its page. For one row of shows, use the poster row.

Basic
  1. 1. The room is the instrument

    38 min · Watched

    Why a wardrobe beats foam, and how to hear the echo of your room.

  2. 2. Pick a microphone

    44 min · Playing now

    Dynamic or condenser, USB or XLR. We test five under 1 million rupiah.

  3. 3. Gain, once and for all

    31 min

    Set the level so you never clip and never hiss.

  4. 4. Edit an hour in twenty minutes

    52 min

    Shortcuts, markers, and the one cut that saves the most time.

  • episodes is a list of episodes. Each episode has an id, a number, a title, and the length in minutes. It can also have a summary, an image, and the progress from 0 to 1.
  • The progress shows as a bar on the picture and in words: "28 min left", or "Watched" near the end.
  • The picture is the play button. Its name says which episode it plays, such as "Play episode 2: Pick a microphone". A click emits play with the id.
  • current is the id of the episode that plays now. It has a bar in the accent color, the words "Playing now", and aria-current.
  • The summary shows two lines at most.
  • Change the words with labels or a label pack: title, watched, playing, and the functions play, length, and left.

Usage ​

ts
import { BlessEpisodeList } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
episodes*BlessEpisode[]—
currentstring—the id of the episode that plays now
labelsPartial<{ title: string; play: (n: number, title: string) => string; length: (minutes: number) => string; left: (minutes: number) => string; watched: string; playing: string; }>—

Events

NamePayloadDescription
play[id: string]

Released under the MIT License. Character names and artwork belong to their owners.