expo-image v1.10.6
expo-image
A cross-platform, performant image component for React Native and Expo.
Main features
- Designed for speed
- Support for many image formats (including animated ones)
- Disk and memory caching
- Supports blurhash, a compact representation of a placeholder for an image
- Transitioning between images when the source changes (no more flickering!)
- Implements the CSS
object-fit
andobject-position
properties (seecontentFit
andcontentPosition
props) - Uses performant
SDWebImage
andGlide
under the hood
Supported image formats
Format | Android | iOS | Web |
---|---|---|---|
WebP | ✅ | ✅ | ✅ ~96% adoption |
PNG / APNG | ✅ | ✅ | ✅ / ✅ ~96% adoption |
AVIF | ✅ | ✅ | ⏳ ~79% adoption |
HEIC | ✅ | ✅ | ❌ not adopted yet |
JPEG | ✅ | ✅ | ✅ |
GIF | ✅ | ✅ | ✅ |
SVG | ✅ | ✅ | ✅ |
ICO | ✅ | ✅ | ✅ |
ICNS | ❌ | ✅ | ❌ |
API documentation
Installation
Currently
expo-image
can be used only with Expo SDK47 in development builds and bare React Native apps with configured Expo modules. It is not available in Expo Go and Snack yet.
Add the package to your dependencies with the following commands:
npx expo install expo-image
npx pod-install
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
4 days ago
5 days ago
6 days ago
14 days ago
15 days ago
15 days ago
18 days ago
19 days ago
19 days ago
22 days ago
22 days ago
26 days ago
26 days ago
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
7 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
10 months ago
9 months ago
10 months ago
12 months ago
12 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago