{"id":22891577,"url":"https://github.com/hanford/react-flick-list","last_synced_at":"2025-08-23T13:11:17.216Z","repository":{"id":66328695,"uuid":"101580439","full_name":"hanford/react-flick-list","owner":"hanford","description":"react bindings for kinetic scrolling","archived":false,"fork":false,"pushed_at":"2023-03-01T09:37:26.000Z","size":10534,"stargazers_count":6,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-29T23:35:50.861Z","etag":null,"topics":["flick-list","inertia","kinetics","react","scrolling"],"latest_commit_sha":null,"homepage":"","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/hanford.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-27T21:09:48.000Z","updated_at":"2024-04-25T09:01:16.000Z","dependencies_parsed_at":"2023-07-08T06:00:28.940Z","dependency_job_id":null,"html_url":"https://github.com/hanford/react-flick-list","commit_stats":{"total_commits":39,"total_committers":2,"mean_commits":19.5,"dds":0.02564102564102566,"last_synced_commit":"a82527c45065b3c3d2fbc877d18a6bf420007479"},"previous_names":["hanford/kinetic-react"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanford%2Freact-flick-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanford%2Freact-flick-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanford%2Freact-flick-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanford%2Freact-flick-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanford","download_url":"https://codeload.github.com/hanford/react-flick-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252921953,"owners_count":21825632,"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":["flick-list","inertia","kinetics","react","scrolling"],"created_at":"2024-12-13T22:34:32.442Z","updated_at":"2025-05-07T16:55:40.557Z","avatar_url":"https://github.com/hanford.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## react-flick-list\n\n\u003e react bindings for kinetic scrolling\n\nThis library implements native like scrolling inertia / momentum entirely in JavaScript. It's useful if you have an absolutely positioned element and need to animate/transform it in a way that feels natural. I couldn't have done it without this [article](https://ariya.io/2013/11/javascript-kinetic-scrolling-part-2)\n\n\u003cbr /\u003e\n\n## Install\n\n```\n$ npm install react-flick-list --save\n```\n\n## Usage\n\n```js\nimport FlickList from 'react-flick-list'\n\n..\n\nrender () {\n  return (\n    \u003cFlickList\u003e\n      {({ position }) =\u003e (\n        \u003cList componentStyle={{transform: `translateY(-${position}px)`}}/\u003e\n      )}\n    \u003c/FlickList\u003e\n  )\n}\n```\n\n![preview](https://github.com/hanford/react-flick-list/blob/master/example.gif)\n\n## API\n\n| Param          | Type    | functionality | required |\n|----------------|---------|-----------------|-----------------|\n| direction      | String ('y', 'x') | tell the library to calculate sizes based on height or width of element | false |\n| max | Number | maxiumum amount to allow library to scroll | false |\n| min | Number | minimum amount to allow library to scroll | false |\n| allowScroll | Boolean | useful for programmatically disallowing scrolling | false |\n| className | String | add custom class to wrapper element | false |\n| getRef | Function | Add a reference to the list element | false |\n| ignoreLimits | Boolean | Ignore min/max limitations when set to true (default is false) | false |\n| getRef | Function | Add a reference to the list element | false |\n| onStart | Function | Method called when scroll is started | false |\n| onScrolling | Function | Method is called while element is scrolling | false |\n| onStop | Function | Method is called when scroll has stopped | false |\n| style | Object | add custom style object to the div element | false |\n\n## License\n\nMIT © [Jack Hanford](http://jackhanford.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanford%2Freact-flick-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanford%2Freact-flick-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanford%2Freact-flick-list/lists"}