Skip to main content

TVScene

TVScene — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

TVScene — Prism component.

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".

Import

const { TVScene } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
scale"tv" | "cinema" | "desktop"Device tier; drives the cinema scale. Default "tv".
theme"dark" | "light"Color theme. TV surfaces are dark by default.
backdropbooleanRender the crossfading cinematic backdrop layers. Default true.
showHintbooleanShow the corner remote hint. Default true.
hintReact.ReactNodeCustom hint content (replaces the default ↑↓←→ / ⏎ legend).
idleMsnumberIdle timeout in ms; after this with no input the scene shows its idle slot.
panAnchornumberWhere the focused row sits vertically when panning (0–1). Default 0.4.
topBarReact.ReactNodePinned top bar (e.g. <TVTopBar>); stays fixed while the body pans.
idleReact.ReactNodeIdle/screensaver slot (e.g. <TVIdleScreen>); shown when idle.
overlayReact.ReactNodeOverlay slot rendered above everything (e.g. <TVModal>, <TVEmergencyScreen>).
toastsReact.ReactNodeToast slot (e.g. <TVToast>).
onBack() =&gt; voidCalled when Back/Esc is pressed.
onHome() =&gt; voidCalled when Home is pressed.
onMenu() =&gt; voidCalled when the Menu/context key is pressed.
onIdle(asleep: boolean) =&gt; voidCalled when the scene sleeps (true) or wakes (false).
childrenReact.ReactNode