TVButton
A remote-focusable button for the 10-foot tier.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
A remote-focusable button 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-button
import { TVButton } from '@/components/prism/TVButton';
In a no-build prototype, read it from the bundle instead: const { TVButton } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
variant | "glass" | "primary" | "accent" | — | Visual style. Default "glass". |
round | boolean | — | Icon-only circular button. |
icon | string | — | lucide icon name. |
iconFill | string | — | Fill for the icon (e.g. "currentColor" for a solid play triangle). |
art | string | — | Backdrop image URL to show when focused. |
initial | boolean | — | Make this the scene's initial focus. |
onSelect | (e: React.MouseEvent) => void | — | Convenience alias for onClick. |
children | React.ReactNode | — |