{"id":48362092,"url":"https://github.com/MatiPl01/react-native-sortables","last_synced_at":"2026-04-21T03:01:27.419Z","repository":{"id":274725741,"uuid":"794159851","full_name":"MatiPl01/react-native-sortables","owner":"MatiPl01","description":"🚀 Powerful Sortable Components for Flexible Content Reordering in React Native","archived":false,"fork":false,"pushed_at":"2026-04-01T10:16:29.000Z","size":28201,"stargazers_count":926,"open_issues_count":21,"forks_count":24,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-01T10:28:24.340Z","etag":null,"topics":["dnd","drag-and-drop","drag-n-drop","draggable","draggable-flex","draggable-grid","flex","grid","react-native","react-native-gesture-handler","react-native-reanimated","sortable-flex","sortable-grid"],"latest_commit_sha":null,"homepage":"https://react-native-sortables-docs.vercel.app/","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/MatiPl01.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-30T15:09:38.000Z","updated_at":"2026-04-01T10:16:32.000Z","dependencies_parsed_at":"2025-05-14T21:09:23.605Z","dependency_job_id":"8a76acea-1770-4823-a723-93dca536d77e","html_url":"https://github.com/MatiPl01/react-native-sortables","commit_stats":null,"previous_names":["matipl01/react-native-sortables"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/MatiPl01/react-native-sortables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatiPl01%2Freact-native-sortables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatiPl01%2Freact-native-sortables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatiPl01%2Freact-native-sortables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatiPl01%2Freact-native-sortables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatiPl01","download_url":"https://codeload.github.com/MatiPl01/react-native-sortables/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatiPl01%2Freact-native-sortables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32074812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dnd","drag-and-drop","drag-n-drop","draggable","draggable-flex","draggable-grid","flex","grid","react-native","react-native-gesture-handler","react-native-reanimated","sortable-flex","sortable-grid"],"created_at":"2026-04-05T13:00:29.644Z","updated_at":"2026-04-21T03:01:27.413Z","avatar_url":"https://github.com/MatiPl01.png","language":"TypeScript","readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n![Banner](https://github.com/user-attachments/assets/532e7ed2-9035-4d5b-9df9-b349ee41608e)\n\n\u003cdiv align=\"center\"\u003e\n\n# \u003cimg src=\"https://github.com/user-attachments/assets/e7dbfceb-63a4-42ef-8c68-f8396a2fbf2e\" width=\"28\" /\u003e React Native Sortables\n\n**Powerful Sortable Components for Flexible Content Reordering in React Native**\n\n[Documentation](https://react-native-sortables-docs.vercel.app/) | [Real-World Examples](https://github.com/MatiPl01/react-native-sortables-demos) | [Simple Usage Examples](https://react-native-sortables-docs.vercel.app/grid/examples) | [Contributing](./CONTRIBUTING.md)\n\n![npm](https://img.shields.io/npm/dw/react-native-sortables?color=36877F)\n![GitHub issues](https://img.shields.io/github/issues/MatiPl01/react-native-sortables?color=36877F)\n![GitHub contributors](https://img.shields.io/github/contributors/MatiPl01/react-native-sortables?color=36877F)\n![GitHub Release Date](https://img.shields.io/github/release-date/MatiPl01/react-native-sortables?color=36877F)\n![GitHub](https://img.shields.io/github/license/MatiPl01/react-native-sortables?color=36877F)\n\n![GitHub forks](https://img.shields.io/github/forks/MatiPl01/react-native-sortables?style=social)\n![GitHub Repo stars](https://img.shields.io/github/stars/MatiPl01/react-native-sortables?style=social)\n![GitHub watchers](https://img.shields.io/github/watchers/MatiPl01/react-native-sortables?style=social)\n\n\u003c/div\u003e\n\n## Overview\n\nReact Native Sortables is a powerful and easy-to-use library that brings smooth, intuitive content reordering to React Native. It provides specialized components whose children can be dynamically reordered through natural dragging gestures.\n\n## Key Features\n\n- 🎯 **Flexible Layouts**\n\n  - **Grid** and **Flex** layout options\n  - Support for items with **different dimensions**\n\n- 🚀 **Performance \u0026 Reliability**\n\n  - Built with [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/) and [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/)\n  - Supports both **Old** and **New Architecture**\n  - Type safe with **TypeScript**\n  - **Expo** compatible\n\n- ✨ **Rich Interactions**\n\n  - **Auto-scrolling** beyond screen bounds\n  - Customizable **layout animations** for items addition and removal\n  - Built-in **haptic feedback** integration (requires [react-native-haptic-feedback](https://github.com/mkuczera/react-native-haptic-feedback) dependency)\n  - Different **reordering strategies** (insertion, swapping)\n\n- 💡 **Developer Experience**\n\n  - Simple API with powerful **customization**\n  - **Minimal setup** required\n\n- ➕ [More features](https://react-native-sortables-docs.vercel.app/#-key-features)\n\n## Installation\n\n- npm\n\n```sh\nnpm install react-native-sortables\n```\n\n- yarn\n\n```sh\nyarn add react-native-sortables\n```\n\n### Dependencies\n\nThis library is built with:\n\n- [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/) (version 3.x, 4.x)\n- [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/) (version 2.x)\n\nMake sure to follow their installation instructions for your project.\n\n## Quick Start\n\n```tsx\nimport { useCallback } from 'react';\nimport { Text, View, StyleSheet } from 'react-native';\nimport type { SortableGridRenderItem } from 'react-native-sortables';\nimport Sortable from 'react-native-sortables';\n\nconst DATA = Array.from({ length: 12 }, (_, index) =\u003e `Item ${index + 1}`);\n\nexport default function Grid() {\n  const renderItem = useCallback\u003cSortableGridRenderItem\u003cstring\u003e\u003e(\n    ({ item }) =\u003e (\n      \u003cView style={styles.card}\u003e\n        \u003cText\u003e{item}\u003c/Text\u003e\n      \u003c/View\u003e\n    ),\n    []\n  );\n\n  return (\n    \u003cSortable.Grid\n      columns={3}\n      data={DATA}\n      renderItem={renderItem}\n      rowGap={10}\n      columnGap={10}\n    /\u003e\n  );\n}\n\nconst styles = StyleSheet.create({\n  card: {\n    backgroundColor: '#36877F',\n    height: 100,\n    borderRadius: 10,\n    alignItems: 'center',\n    justifyContent: 'center'\n  }\n});\n```\n\nFor detailed usage and examples, check out the [Documentation](https://react-native-sortables-docs.vercel.app/).\n\n## Local Library Development\n\n1. Clone and setup:\n\n   ```bash\n   git clone https://github.com/MatiPl01/react-native-sortables.git\n   cd react-native-sortables\n   yarn\n   yarn pod  # iOS only\n   ```\n\n2. Start an example app:\n\n   ```bash\n   cd example/fabric  # or any other example\n   yarn start\n   ```\n\n   Available example apps:\n\n   - `fabric` - React Native Fabric example\n   - `paper` - React Native Paper example\n   - `expo` - Expo example\n   - `web` - Web example\n\n   You can also run commands from the project root using the `yarn example:\u003cname\u003e \u003ccommand\u003e` syntax, e.g.:\n\n   ```bash\n   yarn example:fabric start\n   yarn example:paper android\n   yarn example:expo ios\n   ```\n\n3. Build and run:\n   - iOS: `yarn ios` or build in Xcode\n   - Android: `yarn android` or build in Android Studio\n\n## Contributing\n\nContributions are welcome! Please read the [Contributing Guide](./CONTRIBUTING.md) for details.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\n- 🌟 Star this repo to show support\n- 🐛 Report bugs by [creating an issue](https://github.com/MatiPl01/react-native-sortables/issues)\n- 💡 Request features in discussions [open a discussion](https://github.com/MatiPl01/react-native-sortables/discussions)\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","funding_links":[],"categories":["UI Components"],"sub_categories":["Lists \u0026 Tables"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMatiPl01%2Freact-native-sortables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMatiPl01%2Freact-native-sortables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMatiPl01%2Freact-native-sortables/lists"}