Swapy

Swapy

A few simple lines of code to implement drag and drop swapping layout

  • Implement drag and drop swapping function with a small amount of code
  • Support all popular front-end frameworks
  • Quick installation through npm or CDN
  • Provide configuration options for dynamic, spring, or non animated effects
  • Allow developers to customize drag and drop controllers
  • Provide event monitoring to facilitate developers in handling the logic after exchange
  • Support multiple data structures to return the new order after exchange

Product Details

Swap is a framework independent tool that allows developers to convert any layout into a drag and drop swapping layout through simple code. It supports all popular front-end frameworks such as React, Vue, and Svelte, and can be installed through npm or CDN. The main advantage of Swap is its ease of use and flexibility, allowing developers to quickly implement complex drag and drop functions without the need to delve into the underlying implementation of drag and drop interactions.