Skip to main content

TVModal

A focus-trapped overlay dialog for the 10-foot tier.

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

When to use​

A focus-trapped overlay dialog for the 10-foot tier.

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

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

Props​

PropTypeRequiredDescription
openboolean—Render the modal. Default true.
titleReact.ReactNode—Heading.
childrenReact.ReactNode—Body; a string renders as a paragraph, otherwise rendered as-is.
actionsReact.ReactNode—Action row, typically <TVButton>s.
onClose() =&gt; void—Called when the modal should close (wire to the scene's onBack).