{"id":15647934,"url":"https://github.com/revolunet/react-srcset-image","last_synced_at":"2025-04-30T13:50:19.232Z","repository":{"id":57345188,"uuid":"92070325","full_name":"revolunet/react-srcset-image","owner":"revolunet","description":"React component to optimize your images based on srcset and add an automatic medium-like blur animation.","archived":false,"fork":false,"pushed_at":"2017-07-18T01:05:27.000Z","size":3489,"stargazers_count":42,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-26T10:09:15.184Z","etag":null,"topics":["image-processing","react","responsive","srcset","webpack"],"latest_commit_sha":null,"homepage":"http://revolunet.github.io/react-srcset-image","language":"JavaScript","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/revolunet.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}},"created_at":"2017-05-22T15:38:56.000Z","updated_at":"2023-09-10T11:06:19.000Z","dependencies_parsed_at":"2022-08-26T07:50:54.886Z","dependency_job_id":null,"html_url":"https://github.com/revolunet/react-srcset-image","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Freact-srcset-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Freact-srcset-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Freact-srcset-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revolunet%2Freact-srcset-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revolunet","download_url":"https://codeload.github.com/revolunet/react-srcset-image/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251714760,"owners_count":21631779,"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":["image-processing","react","responsive","srcset","webpack"],"created_at":"2024-10-03T12:22:03.185Z","updated_at":"2025-04-30T13:50:19.208Z","avatar_url":"https://github.com/revolunet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-srcset-image\n\n[![npm package][npm-badge]][npm]\n\nReact component to optimize your images based on `srcset` and add an automatic medium-like blur animation.\n\n - Creates srcset images with webpack and [responsive-loader](http://github.com/revolunet/responsive-loader).\n - Embed base64 blurred placeholder (default: 100x100)\n - Animate between placeholder and final image\n\nDemo : [http://revolunet.github.io/react-srcset-image](http://revolunet.github.io/react-srcset-image)\n\n:warning: This component needs webpack to produce multiple images sizes for you.\n\n:warning: Target images needs to be statically defined.\n\n# Usage\n\n```jsx\nimport Image from 'react-srcset-image'\n\n// webpack responsive-loader config\nconst imageSrc = require('responsive-loader?placeholder=true\u0026sizes[]=500,sizes[]=1000!./image.jpg');\n\nconst Demo = () =\u003e \u003cImage responsiveImage={imageSrc}/\u003e\n```\n\n\n[npm-badge]: https://img.shields.io/npm/v/react-srcset-image.png?style=flat-square\n[npm]: https://www.npmjs.org/package/react-srcset-image\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolunet%2Freact-srcset-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevolunet%2Freact-srcset-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevolunet%2Freact-srcset-image/lists"}