{"id":20103060,"url":"https://github.com/luncher/react-carousel","last_synced_at":"2026-05-09T10:19:53.444Z","repository":{"id":73559776,"uuid":"406294901","full_name":"Luncher/react-carousel","owner":"Luncher","description":"react carousel component","archived":false,"fork":false,"pushed_at":"2021-09-22T16:50:45.000Z","size":406,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T04:41:32.554Z","etag":null,"topics":["carousel","carousel-component","react","react-component"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Luncher.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-14T08:57:56.000Z","updated_at":"2023-03-04T03:51:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca9dae20-16a8-457f-8031-b774d5f7dc39","html_url":"https://github.com/Luncher/react-carousel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Freact-carousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Freact-carousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Freact-carousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Luncher%2Freact-carousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Luncher","download_url":"https://codeload.github.com/Luncher/react-carousel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241542544,"owners_count":19979343,"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":["carousel","carousel-component","react","react-component"],"created_at":"2024-11-13T17:34:11.726Z","updated_at":"2026-05-09T10:19:53.391Z","avatar_url":"https://github.com/Luncher.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Carousel\n\n![GitHub](https://img.shields.io/github/license/Luncher/react-carousel?style=for-the-badge)\n![npm](https://img.shields.io/npm/v/react-carousel-lite?style=for-the-badge)\n![Travis (.com)](https://img.shields.io/travis/com/Luncher/react-carousel?style=for-the-badge)\n\nA tiny React Carousel Component.\n\n## Quick Start\n\n### install\n\n\u003eyarn add react-carousel-lite -S\n\n\n### import styles\n\n\u003eimport 'react-carousel-lite/dist/index.css'\n\n### Usage\n\n```typescript\nimport Carousel from 'react-carousel-lite'\n\nexport function App() {\n  return (\n    \u003cCarousel autoplay\u003e\n      // {...content}\n    \u003c/Carousel\u003e\n  )\n}\n\n```\n\n## Props\n\n|     Name     |                   Type                   | Default |                    Description                     |\n| :----------: | :--------------------------------------: | :-----: | :------------------------------------------------: |\n|   autoplay   |                 Boolean                  |  false  | A boolean indicates whether to play automatically  |\n| dotPosition  |          left/right/top/bottom           | bottom  |               Carousel dot position                |\n|    easing    | CSSProperties['animationTimingFunction'] | linear  |            css animationTimingFunction             |\n|    effect    |                slide/fade                |  slide  |                  The effect type                   |\n|   interval   |                  Number                  | 2000 ms |       The time interval of the slider change       |\n| beforeChange |                 Function                 |  NOOP   | beforeChange will be triggered before slide change |\n| afterChange  |                 Function                 |  NOOP   | afterChange will be triggered after slide changed  |\n|   children   |                ReactNode                 |    -    |                   Slide content                    |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncher%2Freact-carousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluncher%2Freact-carousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluncher%2Freact-carousel/lists"}