{"repo":"MohamedRejeb/compose-dnd","free":true,"listed":false,"github":"https://github.com/MohamedRejeb/compose-dnd","clone":"git clone https://github.com/MohamedRejeb/compose-dnd.git","description":"Compose DND is a library that allows you to easily add drag and drop functionality to your Jetpack Compose or Compose Multiplatform projects.","language":"Kotlin","stars":506,"topics":["android","android-library","compose","compose-library","compose-multiplatform","compose-multiplatform-library","compose-ui","dnd","drag","drag-and-drop"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Compose DND A library that allows you to easily add drag and drop functionality to your Jetpack Compose or Compose Multiplatform projects. Try the live demo · Documentation Features - Drag and Drop -- Drag items from one location and drop them onto designated targets - Reorder Lists -- Reorder items within a list using drag and drop gestures - Auto Scroll -- Automatically scroll containers when dragging items near edges - Drop Strategies -- Choose from multiple built-in strategies to determine which drop target receives the dragged item - Drag Handle -- Restrict the drag gesture to a specific handle area within the item - Axis Lock -- Constrain dragging to the horizontal or vertical axis - Conditional Drop -- Control which drop targets accept which dragged items - Drop Animation -- Smooth spring-based animations when items are dropped - Custom Drag Shadow -- Provide a custom composable to display while an item is being dragged Platform Support Platform Supported ------------ ----------- Android Yes iOS Yes Desktop Yes Web (JS) Yes Web (WASM) Yes Installation Version Compatibility Kotlin version Compose version Compose DND version ---------------- ----------------- --------------------- 2.3.20 1.10.3 0.5.0 Add the following dependency to your module build.gradle.kts file: For Kotlin Multiplatform projects, add the dependency to your commonMain source set: Usage Drag and Drop Create a DragAndDropState , wrap your content with DragAndDropContainer , and use the draggableItem and","default_branch":null,"files":null,"tree":[],"storefront":"/r/MohamedRejeb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MohamedRejeb/compose-dnd/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}