Skip to main content

TVMediaControls

A playback transport bar: title, scrubber with buffered + progress, and remote-focusable skip / play-pause controls.

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

A playback transport bar: title, scrubber with buffered + progress, and remote-focusable skip / play-pause controls.

Accessibility​

Designed for the ten-foot / remote experience: large focus targets, a single bright focus highlight, D-pad navigation, and high-contrast type. Honours data-scale="cinema".

Install and import​

npx shadcn@latest add @prism/tv-media-controls
import { TVMediaControls } from '@/components/prism/TVMediaControls';

In a no-build prototype, read it from the bundle instead: const { TVMediaControls } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
titleReact.ReactNode—Now-playing title.
subReact.ReactNode—Subtitle (episode, channel, …).
positionnumber—Current position in seconds.
durationnumber—Total duration in seconds.
bufferednumber—Buffered-to position in seconds.
playingboolean—Whether playback is active (toggles the play/pause glyph).
onPlayPause() => void—
onSkipBack() => void—
onSkipForward() => void—
skipnumber—Skip amount in seconds (for labels). Default 10.
controlsReact.ReactNode—Extra controls appended to the transport row.
artstring—Backdrop URL when a control is focused.