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

Continue watching ​

Items with the place where you stopped, and a remove button

Puts the shows and episodes that the viewer did not finish at the top of a home page. For a row of new shows, use the poster row.

Basic
  • items is a list. Each item has an id, a title, an image, an href, and the progress from 0 to 1. It can also have a subtitle and the length in minutes.
  • The place where the viewer stopped shows as a bar on the picture and in words. With minutes, the words give the time left, such as "29 min left". Without it, they give the percent done.
  • Each card is one link. The ✕ button emits remove with the id. Its name has the title, so each button is clear on its own.
  • The row scrolls sideways. If the list is empty, nothing shows.
  • Change the words with labels or a label pack: title and the functions left, done, and remove.

Usage ​

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

API ​

Props

NameTypeDefaultDescription
items*BlessResumeItem[]—
labelsPartial<{ title: string; left: (minutes: number) => string; done: (percent: number) => string; remove: (title: string) => string; }>—

Events

NamePayloadDescription
remove[id: string]

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