{"id":15861962,"url":"https://github.com/afeiship/react-fade-image","last_synced_at":"2026-02-26T16:15:35.685Z","repository":{"id":57123007,"uuid":"149375835","full_name":"afeiship/react-fade-image","owner":"afeiship","description":"Fade or lazy image for react.","archived":false,"fork":false,"pushed_at":"2024-09-15T10:18:30.000Z","size":301,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T08:05:40.450Z","etag":null,"topics":["component","components","fade","fade-in","fade-out","image","img","lazy","react","widget"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/afeiship.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-09-19T01:44:50.000Z","updated_at":"2024-09-15T10:18:33.000Z","dependencies_parsed_at":"2024-09-15T12:35:29.818Z","dependency_job_id":"1d1fe116-63cc-4739-ad61-5821ce0840bb","html_url":"https://github.com/afeiship/react-fade-image","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"586f977ae11197ce39d54b8ac2ddeeed6721e143"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/afeiship/react-fade-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-fade-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-fade-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-fade-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-fade-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afeiship","download_url":"https://codeload.github.com/afeiship/react-fade-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afeiship%2Freact-fade-image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261624960,"owners_count":23186118,"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":["component","components","fade","fade-in","fade-out","image","img","lazy","react","widget"],"created_at":"2024-10-05T22:22:12.543Z","updated_at":"2026-02-26T16:15:30.630Z","avatar_url":"https://github.com/afeiship.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-fade-image\n\u003e Fade or lazy image for react.\n\n[![version][version-image]][version-url]\n[![license][license-image]][license-url]\n[![size][size-image]][size-url]\n[![download][download-image]][download-url]\n\n## installation\n```shell\nnpm install -S @jswork/react-fade-image\n```\n\n## usage\n1. import css\n  ```scss\n  @import \"~@jswork/react-fade-image/dist/style.css\";\n\n  // or use sass\n  @import \"~@jswork/react-fade-image/dist/style.scss\";\n  ```\n2. import js\n  ```js\n  import ReactFadeImage from '@jswork/react-fade-image';\n  import '@jswork/react-fade-image/dist/style.scss';\n\n  function App() {\n    return (\n      \u003cdiv className=\"m-10 p-4 shadow bg-gray-100 text-gray-800 hover:shadow-md transition-all\"\u003e\n        \u003cdiv className=\"badge badge-warning absolute right-0 top-0 m-4\"\u003e\n          Build Time: {BUILD_TIME}\n        \u003c/div\u003e\n        \u003cdiv className=\"x-2\"\u003e\n          \u003cReactFadeImage className=\"w-100 mx-auto\" src=\"https://picsum.photos/id/237/200/300\" /\u003e\n          \u003cReactFadeImage className=\"w-100 mx-auto\" src=\"https://picsum.photos/id/100/200/300\" /\u003e\n          \u003cReactFadeImage className=\"w-100 mx-auto\" src=\"https://picsum.photos/id/101/200/300\" /\u003e\n          \u003cReactFadeImage className=\"w-100 mx-auto\" src=\"https://picsum.photos/id/102/200/300\" /\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    );\n  }\n\n  export default App;\n  ```\n\n## preview\n- https://afeiship.github.io/react-fade-image/\n\n## license\nCode released under [the MIT license](https://github.com/afeiship/react-fade-image/blob/master/LICENSE.txt).\n\n[version-image]: https://img.shields.io/npm/v/@jswork/react-fade-image\n[version-url]: https://npmjs.org/package/@jswork/react-fade-image\n\n[license-image]: https://img.shields.io/npm/l/@jswork/react-fade-image\n[license-url]: https://github.com/afeiship/react-fade-image/blob/master/LICENSE.txt\n\n[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/react-fade-image\n[size-url]: https://github.com/afeiship/react-fade-image/blob/master/dist/react-fade-image.min.js\n\n[download-image]: https://img.shields.io/npm/dm/@jswork/react-fade-image\n[download-url]: https://www.npmjs.com/package/@jswork/react-fade-image\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-fade-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafeiship%2Freact-fade-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafeiship%2Freact-fade-image/lists"}