A responsive React Native image component that automatically fits its container, even on screen rotation.
React Native Fit Image is a responsive image component for React Native applications that automatically adjusts images to fit their container dimensions. It solves the problem of manually calculating image sizes for different screens and orientations by handling responsive scaling automatically. The component supports both remote and local images with customizable loading indicators.
React Native developers building mobile applications that require responsive image display across various screen sizes and device orientations.
Developers choose this component because it eliminates the complexity of manual image dimension calculations, provides built-in rotation support, and offers a simpler API than implementing responsive image logic from scratch.
Responsive image component to fit perfectly itself.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Eliminates manual calculations by automatically adjusting images to fit container dimensions, as shown in the usage examples where no original size is required.
Maintains proper image proportions during orientation changes, demonstrated in the provided GIF examples for portrait and landscape modes.
Offers configurable indicators with options for color, size, and visibility, such as setting `indicatorColor` and `indicatorSize` as per the README.
Supports standard React Native resize modes like 'contain' for precise control over image display, enhancing layout flexibility.
The README explicitly states that local images 'do not support responsive,' restricting functionality for bundled assets and requiring manual sizing.
Lacks advanced image handling features such as caching, error handling, or lazy loading, focusing only on basic resizing and rotation.
Provides only basic usage examples without detailed API references or troubleshooting guides, which may hinder deeper customization.