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
This step is required only for apps that use the Carousel component. If your app doesn’t use Carousel, skip to Step 6: Testing Updates. With RN 0.83, the Carousel component moved from the kepler-ui-components package to a separate package in @amazon-devices. If you use Carousel, you need to migrate the component to the new package.
If no results, proceed to Step 6: Testing Updates.

5.2 Update dependencies

  • If Carousel is the only import from kepler-ui-components, replace the dependency entirely.
  • If other components are also imported, keep kepler-ui-components and add vega-carousel alongside it.

5.3 Update import statements

5.4 Migrate data access pattern

Carousel V2 replaces the simple data array prop with a dataAdapter pattern for better performance.

5.5 Migrate props

Update prop names to the V2 Prop name in the table below. Remove these deprecated V1 props (no V2 equivalent)
  • itemDimensions
  • getItemForIndex
  • firstItemOffset
  • selectionBorder.enabled

5.6 Migrate event handlers

If you used onFocus or onFocusUpdate for tracking the selected carousel item, migrate to onSelectionChanged.

5.7 Complete migration example

For the complete property mapping reference, see the Vega Carousel documentation.
Last modified on July 9, 2026