@amazon-devices/expo-image provides a cross-platform, performant image component for React Native and Expo. The library supports BlurHash and ThumbHash, compact representations of a placeholder for an image. It also supports transitioning between images when the source changes. @amazon-devices/expo-image implements the CSS object-fit and object-position properties.
Installation
-
Add the JavaScript library dependency in the
package.jsonfile. -
Reinstall dependencies using the
npm installcommand.
Examples
This example demonstrates an image with a thumbhash placeholder and multiple sources.API reference
See the documentation page for information about this library and API reference: Official Expo documentation for expo-image.Components
Image props
Methods
Known issues and limitations
- This library doesn’t support SVGs and animated sources.
onLoadEnd,onLoadStart,onLoadsometimes don’t get invoked on Vega.

