TVFocusGuideView
A focus container used to shape directional navigation behavior on TV platforms.
TVFocusGuideView is useful when moving from touch-centric layouts to remote-driven layouts where focus order must be explicit.
import { TVFocusGuideView } from 'react-native';
<TVFocusGuideView autoFocus trapFocusLeft trapFocusRight>
{children}
</TVFocusGuideView>;API
Props
All View props are supported.
Controls visibility (display: flex when true, display: none when false).
Ordered list of focus destinations used by the spatial manager.
Enables autofocus behavior for this container.
When set to false, the container and its subtree are treated as not focusable.
Blocks exiting this container upward during directional navigation.
Blocks exiting this container downward during directional navigation.
Blocks exiting this container to the left during directional navigation.
Blocks exiting this container to the right during directional navigation.
Deprecated compatibility prop.
Instance methods
Imperatively updates the destination targets used by this focus guide.
Examples
For TV Examples: LRUD navigation is already enabled in this sandbox. Use your keyboard arrow keys to move focus.