{"id":27896351,"url":"https://github.com/sinamalizadeh/react-carousel","last_synced_at":"2026-04-30T09:34:27.690Z","repository":{"id":188401452,"uuid":"637782459","full_name":"SinaMAlizadeh/react-carousel","owner":"SinaMAlizadeh","description":"Reactjs simple slider","archived":false,"fork":false,"pushed_at":"2023-08-26T12:42:35.000Z","size":900,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T13:49:13.860Z","etag":null,"topics":["react-carousel","reactjs","reactjs-slider","responsive-sli"],"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/SinaMAlizadeh.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}},"created_at":"2023-05-08T11:55:41.000Z","updated_at":"2024-05-13T06:08:30.000Z","dependencies_parsed_at":"2023-08-18T18:30:24.242Z","dependency_job_id":null,"html_url":"https://github.com/SinaMAlizadeh/react-carousel","commit_stats":null,"previous_names":["sinamalizadeh/react-carousel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinaMAlizadeh%2Freact-carousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinaMAlizadeh%2Freact-carousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinaMAlizadeh%2Freact-carousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SinaMAlizadeh%2Freact-carousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SinaMAlizadeh","download_url":"https://codeload.github.com/SinaMAlizadeh/react-carousel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252534616,"owners_count":21763807,"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":["react-carousel","reactjs","reactjs-slider","responsive-sli"],"created_at":"2025-05-05T16:37:44.057Z","updated_at":"2026-04-30T09:34:27.645Z","avatar_url":"https://github.com/SinaMAlizadeh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Simple Image Slider\n\nA simple and reusable image slider for React ([Demo](https://codesandbox.io/s/react-js-images-simple-slider-qlyfsy \"Demo\"))\n\n## Installation\n\nThe package can be installed via NPM:\n\n```\nnpm i reactjs-simple-slider\n```\n\n## Usage\n\nImport Slider for usage :\n\n```js\nimport { Slider } from \"reactjs-simple-slider\";\n```\n\nDefine your slider and config :\n\n```js\n\u003cSlider\n  objectFit=\"contain\"\n  images={[\n    \"https://fakeimg.pl/200x50/\",\n    \"https://fakeimg.pl/200x50/ff0000/\",\n    \"https://fakeimg.pl/200x50/0000ff/\",\n  ]}\n/\u003e\n```\n\n## User guide\n\n| Prop name    | Description                                                                                    | Default value | Example values                                         |\n| ------------ | ---------------------------------------------------------------------------------------------- | ------------- | ------------------------------------------------------ |\n| width        | Width of slider                                                                                |               | 200px                                                  |\n| height       | Height of slider                                                                               |               | 500px                                                  |\n| objectFit    | The objectFit property is used to specify how an images should be resized to fit its container | undefined     | fill , contain , cover , none , scale-down , undefined |\n| images       | List of images to show                                                                         | string[]      | {[\"image1\", \"image2\", \"image3\"]}                       |\n| leftArrow    | You can customize arrow left by pass string or a react component or function                   |               | React Component or string                              |\n| rightArrow   | You can customize arrow right by pass string or a react component or function                  |               | React Component or string                              |\n| infiniteLoop | Set auto change slide                                                                          | false         | true , false                                           |\n| interval     | Duration of change images slider time                                                          | 5000          | Millisecond                                            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinamalizadeh%2Freact-carousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinamalizadeh%2Freact-carousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinamalizadeh%2Freact-carousel/lists"}