Add drag-to-swap rearrangeable panels to a web app built with React, Vue, or plain HTML
Let users customize their dashboard layout by dragging widgets to swap positions
Add interactive grid reordering to a portfolio or content site
| tahash/swapy | leetcode-opensource/vscode-leetcode | mattpocock/ts-reset | |
|---|---|---|---|
| Stars | 8,483 | 8,482 | 8,486 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Commercial or closed-source projects require a paid license, open-source use is free under GPL v3.
Swapy is a small JavaScript library that adds drag-to-swap behavior to any webpage layout. The idea is that you take a grid or set of panels you have already built, add a few lines of Swapy code, and the items in that layout become draggable so users can rearrange them by swapping positions. It does not require any specific framework, meaning it can be dropped into a plain HTML page or used alongside React, Vue, or any other setup. The README itself is brief and points to the project's documentation site for full details and live demos. Based on what is in the repository, the library is written in TypeScript and the actual integration guide lives externally. Licensing has two paths. If the project using Swapy is open-source and released under a license compatible with GNU GPL version 3, Swapy can be used for free under those terms. If the project is commercial or the source code will be kept private, a paid commercial license is required, available for purchase on the project's website. The README does not include pricing details.
A small JavaScript/TypeScript library that lets you add drag-to-swap layout behavior to any webpage with a few lines of code, without needing a specific framework.
Mainly TypeScript. The stack also includes TypeScript, JavaScript.
Free for open-source projects under GPL v3, commercial or closed-source projects require a paid license purchased from the project website.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.