{"id":16764749,"url":"https://github.com/wcandillon/react-progressive-image-loading","last_synced_at":"2025-06-20T03:37:34.569Z","repository":{"id":48000440,"uuid":"89924323","full_name":"wcandillon/react-progressive-image-loading","owner":"wcandillon","description":"Progressively load images using a blur effect.","archived":false,"fork":false,"pushed_at":"2021-08-11T04:05:46.000Z","size":57,"stargazers_count":120,"open_issues_count":7,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-02T03:51:29.211Z","etag":null,"topics":["progressive-image","react"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/wcandillon.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}},"created_at":"2017-05-01T13:00:30.000Z","updated_at":"2024-03-20T14:48:54.000Z","dependencies_parsed_at":"2022-08-12T16:11:53.426Z","dependency_job_id":null,"html_url":"https://github.com/wcandillon/react-progressive-image-loading","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcandillon%2Freact-progressive-image-loading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcandillon%2Freact-progressive-image-loading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcandillon%2Freact-progressive-image-loading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wcandillon%2Freact-progressive-image-loading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wcandillon","download_url":"https://codeload.github.com/wcandillon/react-progressive-image-loading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238044095,"owners_count":19407128,"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","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":["progressive-image","react"],"created_at":"2024-10-13T05:27:03.772Z","updated_at":"2025-02-10T02:10:53.500Z","avatar_url":"https://github.com/wcandillon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Progressive Image Loading\nProgressively load images using a blur effect.\n\n[![CircleCI](https://circleci.com/gh/wcandillon/react-progressive-image-loading.svg?style=svg)](https://circleci.com/gh/wcandillon/react-progressive-image-loading)\n[![npm version](https://badge.fury.io/js/react-progressive-image-loading.svg)](https://badge.fury.io/js/react-progressive-image-loading)\n\n![example](http://i.imgur.com/fL5Qqvj.gif)\n\n## Installation\n\n```bash\n$ npm install react-progressive-image-loading --save\n```\n\n## Import\n\n```jsx\nimport ProgressiveImage from \"react-progressive-image-loading\";\n```\n\n## Usage\n\n```jsx\n\u003cProgressiveImage\n    preview=\"/images/tiny-preview.png\"\n    src=\"/images/preview.png\"\n    render={(src, style) =\u003e \u003cimg src={src} style={style} /\u003e}\n/\u003e\n```\n\nInstead of using the `img` tag, you can use `background-image` with a `div`.\n\n```jsx\n\u003cProgressiveImage\n    preview=\"/images/tiny-preview.png\"\n    src=\"/images/preview.png\"\n    render={(src, style) =\u003e \u003cdiv style={Object.assign(style, { backgroundImage: `url(${src})` })} /\u003e}\n/\u003e\n```\n\nYou can also customize the transition time and the timing function used for that transition.\n\n```jsx\n\u003cProgressiveImage\n    preview=\"/images/tiny-preview.png\"\n    src=\"/images/preview.png\"\n    transitionTime={500}\n    transitionFunction=\"ease\"\n    render={(src, style) =\u003e \u003cimg src={src} style={style} /\u003e}\n/\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcandillon%2Freact-progressive-image-loading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwcandillon%2Freact-progressive-image-loading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwcandillon%2Freact-progressive-image-loading/lists"}