TVTabs
TVTabs — Prism component.
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
TVTabs — Prism component.
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".
Import
const { TVTabs } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
items | TVTabItem[] | Yes | Tabs as strings or { label, current, art } objects. |
current | number | — | 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. |
art | string | — | Backdrop image URL to show when a tab is focused. |