as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
@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

  1. Add the JavaScript library dependency in the package.json file. Select the tab for your React Native version.
  1. Reinstall dependencies using npm install command.

Usage Examples

The example below demonstrates an image with a thumbhash placeholder and multiple sources.

API reference

Check out the dedicated documentation page for info about this library, API reference and more Official Expo documentation for expo-image.

Components

Image props

Methods

Implementation details

  • Does not support SVGs and animated sources
  • cachePolicy prop does not work
  • onProgress and onError callbacks are not supported
  • onLoadEnd, onLoadStart, onLoad sometimes don’t get invoked on Vega

Additional resources

For information on additional libraries, see Supported Third-Party Libraries and Services.
最終更新日 2026年8月3日