# PlayerBar

> A music player's controls as one bar along the window's foot: what plays on the left, the transport and the seek bar in the middle, volume and panel toggles on the right, with PlayerBar.Mini as its phone form above a tab bar.

```ts
import { PlayerBar } from "@sdxc/ui/audio";
```

Renders the bar: three columns from a laptop's width, and on a narrower container the track
and the transport alone, with the seek bar across the top edge.

## Examples

```tsx
<PlayerBar label="Player" track={<PlayerBar.Track title="Low Tide" />} controls={controls} />
```

## Props

| Prop | Type | Description |
| --- | --- | --- |
| `label` | `string` | The landmark's name, such as "Player". |
| `track` | `RemixNode` | What plays: a PlayerBar.Track. |
| `controls` | `RemixNode` | The transport buttons in a row, then a PlayerBar.Seek under them. |
| `extras?` | `RemixNode` | Panel toggles and the volume, at the bar's end. |

Also accepts everything in `Omit<TagProps<"section">, "children">`.

