{"id":22624084,"url":"https://github.com/pjb0811/react-draggable-lists","last_synced_at":"2025-04-11T17:41:46.694Z","repository":{"id":56463121,"uuid":"145970864","full_name":"pjb0811/react-draggable-lists","owner":"pjb0811","description":"draggable list app using react \u0026 react-motion.","archived":false,"fork":false,"pushed_at":"2020-11-05T21:13:25.000Z","size":125,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T13:45:25.363Z","etag":null,"topics":["draggable","list","react","react-motion"],"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/pjb0811.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":"2018-08-24T09:20:54.000Z","updated_at":"2025-01-03T02:59:24.000Z","dependencies_parsed_at":"2022-08-15T19:10:54.320Z","dependency_job_id":null,"html_url":"https://github.com/pjb0811/react-draggable-lists","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/pjb0811%2Freact-draggable-lists","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-draggable-lists/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-draggable-lists/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjb0811%2Freact-draggable-lists/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjb0811","download_url":"https://codeload.github.com/pjb0811/react-draggable-lists/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248451491,"owners_count":21105882,"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":["draggable","list","react","react-motion"],"created_at":"2024-12-09T00:10:07.117Z","updated_at":"2025-04-11T17:41:46.673Z","avatar_url":"https://github.com/pjb0811.png","language":"TypeScript","readme":"# react-draggable-lists\n\n\u003e draggable list app using react \u0026 react-motion.\n\n[![NPM](https://img.shields.io/npm/v/react-draggable-lists.svg)](https://www.npmjs.com/package/react-draggable-lists) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\nThis package is included in [react-motion-components](https://github.com/pjb0811/react-motion-components).\n\n## Install\n\n```bash\nnpm install --save react-draggable-lists\n```\n\n## Usage\n\n[demo](https://codesandbox.io/s/ym97587kxx)\n\n```tsx\nimport * as React from 'react';\n\nimport DraggableList from 'react-draggable-lists';\n\nclass Example extends React.Component {\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003chi\u003ereact-draggable-lists\u003c/hi\u003e\n        \u003cdiv style={{ width: 300, margin: '0 auto' }}\u003e\n          \u003cDraggableList width={300} height={300} rowSize={1}\u003e\n            \u003cdiv style={{ width: 300, height: 300, background: 'green' }}\u003e\n              1\n            \u003c/div\u003e\n            \u003cdiv style={{ width: 300, height: 300, background: 'blue' }}\u003e2\u003c/div\u003e\n            \u003cdiv style={{ width: 300, height: 300, background: 'red' }}\u003e3\u003c/div\u003e\n          \u003c/DraggableList\u003e\n        \u003c/div\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n```\n\n## License\n\nMIT © [pjb0811](https://github.com/pjb0811)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjb0811%2Freact-draggable-lists","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjb0811%2Freact-draggable-lists","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjb0811%2Freact-draggable-lists/lists"}