{"id":38177607,"url":"https://github.com/femioladeji/react-slideshow","last_synced_at":"2026-02-22T23:26:10.668Z","repository":{"id":40209868,"uuid":"98800174","full_name":"femioladeji/react-slideshow","owner":"femioladeji","description":"A react component for slideshow supporting slide, fade and zoom","archived":false,"fork":false,"pushed_at":"2024-10-04T08:59:14.000Z","size":5464,"stargazers_count":383,"open_issues_count":13,"forks_count":71,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-27T04:28:51.150Z","etag":null,"topics":["carousel","gallery","images","react","slide","slideshow"],"latest_commit_sha":null,"homepage":"https://react-slideshow-image.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/femioladeji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2017-07-30T13:43:49.000Z","updated_at":"2025-10-02T18:09:44.000Z","dependencies_parsed_at":"2023-02-12T01:46:04.963Z","dependency_job_id":"d70ac6e2-5d62-4dc6-9dee-ae3d60a577d5","html_url":"https://github.com/femioladeji/react-slideshow","commit_stats":{"total_commits":305,"total_committers":18,"mean_commits":"16.944444444444443","dds":0.4590163934426229,"last_synced_commit":"c8857ac26863ffcd1010d9212ae98f230fcfb5d6"},"previous_names":["andela-foladeji/react-slideshow"],"tags_count":51,"template":false,"template_full_name":null,"purl":"pkg:github/femioladeji/react-slideshow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femioladeji%2Freact-slideshow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femioladeji%2Freact-slideshow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femioladeji%2Freact-slideshow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femioladeji%2Freact-slideshow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/femioladeji","download_url":"https://codeload.github.com/femioladeji/react-slideshow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/femioladeji%2Freact-slideshow/sbom","scorecard":{"id":191868,"data":{"date":"2025-08-11","repo":{"name":"github.com/femioladeji/react-slideshow","commit":"2f7b57edd5b4de25c4d2fab9f4d3bbe352090491"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":3,"reason":"Found 2/6 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/e2e.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/e2e.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/e2e.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/e2e.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/size.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/size.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/size.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/size.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/unit-test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/unit-test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/unit-test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/unit-test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/femioladeji/react-slideshow/unit-test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/npmpublish.yml:16","Warn: npmCommand not pinned by hash: .github/workflows/npmpublish.yml:28","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/e2e.yml:1","Warn: no topLevel permission defined: .github/workflows/npmpublish.yml:1","Warn: no topLevel permission defined: .github/workflows/size.yml:1","Warn: no topLevel permission defined: .github/workflows/unit-test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"39 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-w5hq-hm5m-4548","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T20:53:57.288Z","repository_id":40209868,"created_at":"2025-08-16T20:53:57.289Z","updated_at":"2025-08-16T20:53:57.289Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28487622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T22:54:02.790Z","status":"ssl_error","status_checked_at":"2026-01-16T22:50:10.344Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["carousel","gallery","images","react","slide","slideshow"],"created_at":"2026-01-16T23:36:08.482Z","updated_at":"2026-01-16T23:36:09.149Z","avatar_url":"https://github.com/femioladeji.png","language":"JavaScript","readme":"# React-Slideshow\n\n[![Workflow](https://github.com/femioladeji/react-slideshow/actions/workflows/main.yml/badge.svg)](https://github.com/femioladeji/react-slideshow)\n[![codecov](https://codecov.io/gh/femioladeji/react-slideshow/branch/master/graph/badge.svg)](https://codecov.io/gh/femioladeji/react-slideshow)\n[![Package Quality](http://npm.packagequality.com/shield/react-slideshow-image.svg)](http://packagequality.com/#?package=react-slideshow-image)\n[![downloads](https://img.shields.io/npm/dm/react-slideshow-image.svg)](https://www.npmjs.com/package/react-slideshow-image)\n\nA simple slideshow component built with react that supports slide, fade and zoom effects. For full documentation click [here](https://react-slideshow-image.netlify.app/)\n\n## Installation\n```\nnpm install react-slideshow-image -S\n```\n\n```\nyarn add react-slideshow-image\n```\n\nYou need to import the css style, you can do that by adding to the js file\n```js\nimport 'react-slideshow-image/dist/styles.css'\n\n```\nor to your css file\n```css\n@import \"react-slideshow-image/dist/styles.css\";\n\n```\n\nYou can use three different effects of the slideshow. Check [examples](https://react-slideshow-image.netlify.app/)\n\n## Slide Effect\nYou can use this [playground](https://codesandbox.io/s/serene-lalande-yjmol) to tweak some values\n```js\nimport React from 'react';\nimport { Slide } from 'react-slideshow-image';\nimport 'react-slideshow-image/dist/styles.css'\n\nconst spanStyle = {\n  padding: '20px',\n  background: '#efefef',\n  color: '#000000'\n}\n\nconst divStyle = {\n  display: 'flex',\n  alignItems: 'center',\n  justifyContent: 'center',\n  backgroundSize: 'cover',\n  height: '400px'\n}\nconst slideImages = [\n  {\n    url: 'https://images.unsplash.com/photo-1509721434272-b79147e0e708?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1500\u0026q=80',\n    caption: 'Slide 1'\n  },\n  {\n    url: 'https://images.unsplash.com/photo-1506710507565-203b9f24669b?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1536\u0026q=80',\n    caption: 'Slide 2'\n  },\n  {\n    url: 'https://images.unsplash.com/photo-1536987333706-fc9adfb10d91?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1500\u0026q=80',\n    caption: 'Slide 3'\n  },\n];\n\nconst Slideshow = () =\u003e {\n    return (\n      \u003cdiv className=\"slide-container\"\u003e\n        \u003cSlide\u003e\n         {slideImages.map((slideImage, index)=\u003e (\n            \u003cdiv key={index}\u003e\n              \u003cdiv style={{ ...divStyle, 'backgroundImage': `url(${slideImage.url})` }}\u003e\n                \u003cspan style={spanStyle}\u003e{slideImage.caption}\u003c/span\u003e\n              \u003c/div\u003e\n            \u003c/div\u003e\n          ))} \n        \u003c/Slide\u003e\n      \u003c/div\u003e\n    )\n}\n```\n\n## Fade Effect\nYou can use this [playground](https://codesandbox.io/s/admiring-wave-17e0j) to tweak some values\n```js\nimport React from 'react';\nimport { Fade } from 'react-slideshow-image';\nimport 'react-slideshow-image/dist/styles.css'\n\nconst fadeImages = [\n  {\n    url: 'https://images.unsplash.com/photo-1509721434272-b79147e0e708?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1500\u0026q=80',\n    caption: 'First Slide'\n  },\n  {\n    url: 'https://images.unsplash.com/photo-1506710507565-203b9f24669b?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1536\u0026q=80',\n    caption: 'Second Slide'\n  },\n  {\n    url: 'https://images.unsplash.com/photo-1536987333706-fc9adfb10d91?ixlib=rb-1.2.1\u0026ixid=eyJhcHBfaWQiOjEyMDd9\u0026auto=format\u0026fit=crop\u0026w=1500\u0026q=80',\n    caption: 'Third Slide'\n  },\n];\n\nconst Slideshow = () =\u003e {\n  return (\n    \u003cdiv className=\"slide-container\"\u003e\n      \u003cFade\u003e\n        {fadeImages.map((fadeImage, index) =\u003e (\n          \u003cdiv key={index}\u003e\n            \u003cimg style={{ width: '100%' }} src={fadeImage.url} /\u003e\n            \u003ch2\u003e{fadeImage.caption}\u003c/h2\u003e\n          \u003c/div\u003e\n        ))}\n      \u003c/Fade\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n## Zoom Effect\nYou can use this [playground](https://codesandbox.io/s/priceless-bohr-ggirf) to tweak some values\n```js\nimport React from 'react';\nimport { Zoom } from 'react-slideshow-image';\nimport 'react-slideshow-image/dist/styles.css'\n\nconst images = [\n  'images/slide_2.jpg',\n  'images/slide_3.jpg',\n  'images/slide_4.jpg',\n  'images/slide_5.jpg',\n  'images/slide_6.jpg',\n  'images/slide_7.jpg'\n];\n\nconst Slideshow = () =\u003e {\n    return (\n      \u003cdiv className=\"slide-container\"\u003e\n        \u003cZoom scale={0.4}\u003e\n          {\n            images.map((each, index) =\u003e \u003cimg key={index} style={{width: \"100%\"}} src={each} /\u003e)\n          }\n        \u003c/Zoom\u003e\n      \u003c/div\u003e\n    )\n}\n```\n\n## Development\nIf you want to run the app in development mode, you can run `npm start` to build the file in watch mode or `npm build` and then `npm pack` if you want to use it as a module in another project on your laptop.\nTo run the storybook just run `npm run storybook`","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemioladeji%2Freact-slideshow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffemioladeji%2Freact-slideshow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffemioladeji%2Freact-slideshow/lists"}