Skip to main content

TVTabs

The frosted "Liquid Glass" pill of top-level destinations.

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

When to use​

The frosted "Liquid Glass" pill of top-level destinations.

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

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

Props​

PropTypeRequiredDescription
itemsTVTabItem[]YesTabs as strings or { label, current, art } objects.
currentnumber—Index of the current tab (when items are plain strings).
onSelect(index: number, item: TVTabItem) => void—Called with (index, item) when a tab is selected.
artstring—Backdrop image URL to show when a tab is focused.