Drag-and-drop operations

Edit pageLast modified: 25 September 2024

You can enable your Compose Multiplatform app to accept data that users drag into it from other applications or allow users to drag data out of your app. To implement this, use the dragAndDropSource and dragAndDropTarget modifiers to specify particular composables as potential sources or destinations for drag operations.