Skip to main content

TVRail

A horizontally-scrolling row of cards with focus memory and automatic track scrolling as focus moves.

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

When to use​

A horizontally-scrolling row of cards with focus memory and automatic track scrolling as focus moves.

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

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

Props​

PropTypeRequiredDescription
titleReact.ReactNode—Row heading.
moreReact.ReactNode—Trailing affordance; default "See All ›". Pass null/"" to hide.
childrenReact.ReactNode—Cards, typically <TVCard>s.