{"id":18973554,"url":"https://github.com/anishmprasad/react-imgr","last_synced_at":"2025-08-09T06:08:26.749Z","repository":{"id":98777105,"uuid":"173925196","full_name":"anishmprasad/react-imgr","owner":"anishmprasad","description":"A Progressive image component for react applications","archived":false,"fork":false,"pushed_at":"2023-02-22T18:28:04.000Z","size":370,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-27T19:29:38.649Z","etag":null,"topics":["lazyload","preload-images","progressive-image","progressive-image-loading","react","react-component","reactjs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anishmprasad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-05T10:26:09.000Z","updated_at":"2022-11-15T17:58:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"95f7cad0-0e37-4b21-813b-7b3648383b3a","html_url":"https://github.com/anishmprasad/react-imgr","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":"0.47916666666666663","last_synced_commit":"18f03099a2bc2c29a4c62ef043731af97ac0dba8"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/anishmprasad/react-imgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishmprasad%2Freact-imgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishmprasad%2Freact-imgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishmprasad%2Freact-imgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishmprasad%2Freact-imgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anishmprasad","download_url":"https://codeload.github.com/anishmprasad/react-imgr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anishmprasad%2Freact-imgr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269489752,"owners_count":24425574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lazyload","preload-images","progressive-image","progressive-image-loading","react","react-component","reactjs"],"created_at":"2024-11-08T15:12:29.947Z","updated_at":"2025-08-09T06:08:26.692Z","avatar_url":"https://github.com/anishmprasad.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-imgr\n\nA Progressive Image component for React.\n\n### Installation\n\n```\n\n// with npm with react-extensions\n$ npm install react-extensions\n\n// with npm with react-compounds\n$ npm install @react-compounds/image  --save\n\n// with yarn with react-compounds\n$ yarn add @react-compounds/image\n\n// with npm\n$ npm install react-imgr  --save\n\n// with yarn\n$ yarn add react-imgr\n```\n\n### Usage\n\nThis is the basic usage of react-dropdown\n\n```Javascript\nimport Image from 'react-imgr';\nimport 'react-imgr/dist/styles.min.css'\n\n\u003cImage\n    src='image.jpg'\n    preloadSrc='preloadimage.jpg'\n    containerStyle={{\n\twidth: '100%',\n\theight: '280px'\n    }}\n    initialBlur\n    alt='alt tag added here'\n    scale\n    placeholder='placeholder.jpg'\n/\u003e\n```\n\n### Props\n\n| Name           | Type      | Required | Description                      |\n| -------------- | --------- | -------- | -------------------------------- |\n| src            | `string`  | `true`   | the src of image                 |\n| preloadSrc     | `string`  | `false`  | the src image preload src        |\n| containerStyle | `object`  | `false`  | container css styles             |\n| initialBlur    | `boolean` | `true`   | the src initial state            |\n| alt            | `string`  | `true`   | the src alt tag                  |\n| scale          | `boolean` | `false`  | scale the src image              |\n| placeholder    | `string`  | `true`   | the src of the placeholder image |\n\n### Demo\n\n[codesandbox.io](https://codesandbox.io/embed/xj5p7lzlnp)\n\n[anishmprasad.com](https://anishmprasad.com/opensource/react-imgr)\n\n[anishmprasad.github.io](https://anishmprasad.github.io/opensource/react-imgr)\n\n### TODO\n\n-   [x] Optimization\n-   [x] CSS Polishing and Transitions\n-   [x] Documentation\n-   [x] Production Ready\n-   [ ] Code Cleanup\n\n### License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishmprasad%2Freact-imgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanishmprasad%2Freact-imgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanishmprasad%2Freact-imgr/lists"}