# EpisodeList

> A season's episodes as an ordered list: each one a link with its still, number, title, running time and synopsis, a bar for how much of it was watched, and a mark on the one the viewer is up to.

```ts
import { EpisodeList } from "@sdxc/ui/video";
```

Renders the list. It is an `<ol>`, so a screen reader hears where each episode falls in the
season, and each row is one link named by its number and title.

## Examples

```tsx
<EpisodeList aria-label="Season 1">
	<EpisodeList.Item href="/watch/1" number={1} title="Low Tide" still={<Still />} duration="52 min" />
</EpisodeList>
```

## Props

Also accepts everything in `TagProps<"ol">`.


### EpisodeList.Item

One episode row.

| Prop | Type | Description |
| --- | --- | --- |
| `href` | `string` | Where the episode plays. |
| `number` | `number` | The episode's number in its season, drawn large beside the still. |
| `title` | `string` |  |
| `still` | `RemixNode` | The still, drawn edge to edge in a 16:9 frame. |
| `duration?` | `string` | The running time as it reads, such as "48 min". |
| `synopsis?` | `RemixNode` | One or two sentences on the episode. |
| `progress?` | `number` | The share watched, from 0 to 1. |
| `progressLabel?` | `string` | What a screen reader hears for the bar, such as "Watched 60%". |
| `current?` | `boolean` | Marks the episode the viewer is up to, with `aria-current` on its link. |

Also accepts everything in `Omit<TagProps<"li">, "title" | "children">`.

