# mbrevda/react-image

React.js <img> tag rendering with multiple fallback & loader support

Repository: https://github.com/mbrevda/react-image
Canonical: https://ross.abutalabs.com/products/react-image
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, reactjs, image, fallback, preloader, preload, loader, react-img-multi
Last push: 2026-08-23T21:58:45+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3596, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1232, forks 89 (observed 2026-08-28T04:04:04.371105+00:00)

## What it is
A React library providing an <img> tag replacement and useImage hook that supports fallback to alternate image sources on load failure. It integrates with React Suspense to show loaders while images load and decode.

## Use cases
- show a spinner while an image loads in react
- fallback to alternate image urls when loading fails
- react image loading with suspense
- replace img tag with loader and error states
- load images from multiple sources with retry

## When to choose
- you need image fallback chains or suspense-based loading in React
- you want a zero-dependency img replacement with loader/error states

## When to avoid
- you are not using React
- you need advanced image processing rather than loading behavior

## Facets
- artifact type: library
- maturity: active
- function: ui-components, image-processing, state-management
- domain: frontend, web-development
- platform: browser
- tags: react, image-loading, fallback, suspense, preloader, hooks, nodejs

## Member repositories
- mbrevda/react-image (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:04.371105+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:22.170319+00:00, confidence not recorded.
  - readme: https://github.com/mbrevda/react-image (fetched 2026-08-28T04:04:04.371105+00:00, sha f64d37fe980c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
