Skip to main content

TVLanguageSelector

A large-target language grid for first-run / in-stay switching.

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

When to use​

A large-target language grid for first-run / in-stay switching.

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-language-selector
import { TVLanguageSelector } from '@/components/prism/TVLanguageSelector';

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

Props​

PropTypeRequiredDescription
languagesTVLanguage[]Yes
columnsnumber—Columns in the grid. Default 3.
currentstring | number—Currently selected code or index.
onSelect(language: TVLanguage, index: number) => void—
artstring—Backdrop URL when an option is focused.