Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Users interact with Vega apps through touch (on multimodal devices) or a D-Pad remote control (on TV). React Native provides components that handle both input methods — onPress fires whether the user taps the screen or presses the select button on a remote.

Pressable components

The recommended way to handle user input is with Pressable. It works across all Vega profiles:
Other touchable components: All of these respond to both touch and D-Pad select.

Long press

Detect when a user presses and holds (touch) or long-presses the select button (D-Pad):

TV Navigation (D-Pad)

On TV devices, there is no touchscreen. Users navigate using directional buttons (up, down, left, right) and a select button. The system moves focus between interactive elements based on a Cartesian distance algorithm.

Focus indicators

Every interactive element must show a clear visual change when focused. Use physical changes (border, scale) — not just color or opacity:

Focusable components

Making non-interactive components focusable

Controlling focus direction

Override the default focus algorithm using nextFocus props:
Available directional props: nextFocusUp, nextFocusDown, nextFocusLeft, nextFocusRight.

Setting initial focus

For dynamic focus control, use FocusManager:

TVFocusGuideView

Advanced focus container for controlling focus behavior in complex layouts.

FocusManager API

Imperative focus control via TurboModule:

Handling rapid key presses

If focus behaves unexpectedly during rapid D-Pad presses, use the enableSynchronousFocusEvents prop:

Troubleshooting

Further reading

Last modified on June 29, 2026