TVModal
A focus-trapped overlay dialog for the 10-foot tier.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen 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
| Prop | Type | Required | Description |
|---|---|---|---|
open | boolean | — | Render the modal. Default true. |
title | React.ReactNode | — | Heading. |
children | React.ReactNode | — | Body; a string renders as a paragraph, otherwise rendered as-is. |
actions | React.ReactNode | — | Action row, typically <TVButton>s. |
onClose | () => void | — | Called when the modal should close (wire to the scene's onBack). |