Skip to main content

TVCard

A remote-focusable media/utility tile.

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

When to use​

A remote-focusable media/utility tile.

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-card
import { TVCard } from '@/components/prism/TVCard';

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

Props​

PropTypeRequiredDescription
shape"wide" | "poster" | "square"—Tile aspect. Default "wide".
imagestring | React.CSSProperties—CSS background for the art (a string, may include a gradient fallback) or a style object.
artstring—Hi-res URL the cinematic backdrop crossfades to on focus.
badgeReact.ReactNode—Corner badge, e.g. "4K" / "HDR".
progressnumber—Watch progress 0–100; renders a progress bar.
iconstring—lucide icon name, overlaid bottom-left (for utility tiles).
nameReact.ReactNode—Title caption (revealed on focus for posters).
subReact.ReactNode—Secondary caption line.
initialboolean—Make this the scene's initial focus.
onSelect(e: React.MouseEvent) => void—Convenience alias for onClick.
onLongPress(e: Event) => void—Fired on remote long-press (hold OK).