{"id":19490763,"url":"https://github.com/cmswalker/fullpage-react","last_synced_at":"2025-04-07T11:03:13.115Z","repository":{"id":57139548,"uuid":"63537993","full_name":"cmswalker/fullpage-react","owner":"cmswalker","description":"Stateful fullpage.js inspired scrolling for React","archived":false,"fork":false,"pushed_at":"2018-08-03T18:49:10.000Z","size":4337,"stargazers_count":205,"open_issues_count":2,"forks_count":40,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T10:06:25.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cmswalker.github.io/fullpage-react/","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/cmswalker.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":"2016-07-17T15:10:20.000Z","updated_at":"2025-02-21T17:04:16.000Z","dependencies_parsed_at":"2022-09-03T11:52:43.028Z","dependency_job_id":null,"html_url":"https://github.com/cmswalker/fullpage-react","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmswalker%2Ffullpage-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmswalker%2Ffullpage-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmswalker%2Ffullpage-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmswalker%2Ffullpage-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmswalker","download_url":"https://codeload.github.com/cmswalker/fullpage-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569112,"owners_count":20959757,"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":[],"created_at":"2024-11-10T21:14:16.638Z","updated_at":"2025-04-07T11:03:13.061Z","avatar_url":"https://github.com/cmswalker.png","language":"JavaScript","readme":"# **[Fullpage-React](https://cmswalker.github.io/fullpage-react/)**\n\nStateful fullpage.js inspired scrolling for React\n\n## **This package is no longer maintained, and has been moved under the official [fullpage.js](https://github.com/alvarotrigo/fullpage.js/) project! Please use the official [react-fullpage](https://github.com/alvarotrigo/react-fullpage) package!**\n\n---\n\n### Demo can be found [here](https://cmswalker.github.io/fullpage-react/) along with the [source code](https://github.com/cmswalker/fullpage-react/blob/master/examples/fullpageReactExample.js)\n\n### [Starter Example](https://github.com/cmswalker/fullpage-react/tree/master/examples)\n\n### Basic Setup\n\n```sh\n// NPM\nnpm i fullpage-react --save\n\n// Yarn\nyarn add fullpage-react\n```\n\n#### Component Boilerplate\n\n```jsx\nimport { Fullpage, Slide, HorizontalSlider } from 'fullpage-react';\n\nconst fullPageOptions = {\n  // for mouse/wheel events\n  // represents the level of force required to generate a slide change on non-mobile, 10 is default\n  scrollSensitivity: 7,\n\n  // for touchStart/touchEnd/mobile scrolling\n  // represents the level of force required to generate a slide change on mobile, 10 is default\n  touchSensitivity: 7,\n  scrollSpeed: 500,\n  hideScrollBars: true,\n  enableArrowKeys: true\n};\n\nconst horizontalSliderProps = {\n  name: 'horizontalSlider1', // name is required\n  infinite: true, // enable infinite scrolling\n};\n\nconst horizontalSlides = [\n  \u003cSlide\u003e Slide 2.1 \u003c/Slide\u003e,\n  \u003cSlide\u003e Slide 2.2 \u003c/Slide\u003e\n];\nhorizontalSliderProps.slides = horizontalSlides;\n\nconst slides = [\n  \u003cSlide\u003e Slide 1 \u003c/Slide\u003e,\n  \u003cHorizontalSlider {...horizontalSliderProps}\u003e\u003c/HorizontalSlider\u003e,\n  \u003cSlide\u003e Slide 3 \u003c/Slide\u003e\n];\nfullPageOptions.slides = slides;\n\n\u003cFullpage {...fullPageOptions} /\u003e\n\n```\n\n#### Events API\n\nThere are two functions located on the `Fullpage` class. These are used for manually changing the vertical and horizontal slides via UI events.\n\nThere are also two optional props for `\u003cFullpage/\u003e` that will send data `onSlideChangeStart` and `onSlideChangeEnd`\n\nSliding can be cancelled in the event that you want the user to stay fixed on a slide for some reason. If the function passed to `onSlideChangeStart` returns `true`, sliding can be cancellabe until it returns falsy.\n\nAn example can be found here [here](https://github.com/cmswalker/fullpage-react/blob/master/examples/fullpageReactExample.js)\n","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmswalker%2Ffullpage-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmswalker%2Ffullpage-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmswalker%2Ffullpage-react/lists"}