TahaSh/swapy
✨ A framework-agnostic tool that converts any layout into a drag-to-swap one with just a few lines of code https://swapy.tahazsh.com/ observed · 2026-08-28
Health v2 · maintenance only
26/100
- Activity 2
- Release rhythm 40
- Longevity 55
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 2.5
- age_days: 779
- days_rel: 591
- days_push: 591
- n_releases_24m: 13
Adoption not part of the score
8510 stars · 178 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Swapy is a framework-agnostic JavaScript/TypeScript library that converts any HTML layout into a drag-to-swap layout with minimal code. It works with any frontend framework and is dual-licensed under GPLv3 or a commercial license.
Use cases
- add drag-to-swap behavior to a dashboard grid
- let users rearrange widgets by dragging
- make sortable swap layouts without heavy drag-and-drop libraries
- build customizable home screen layouts
- swap cards in a kanban-like layout by dragging
When to choose
- you want simple drag-to-swap interactions with a few lines of code
- you need a framework-agnostic solution usable with React, Vue, Svelte, or vanilla JS
- your project is open-source and GPL-compatible
When to avoid
- you need full drag-and-drop features like sorting across lists or nested containers
- you cannot comply with GPLv3 and don't want to buy a commercial license
- you need touch-free accessibility-first reordering only
Facets
library · maturity active
ui-components animation frontend web-development browser cross-platform drag-and-drop drag-to-swap framework-agnostic layout typescript
1 source
- readme: https://github.com/TahaSh/swapy · fetched 2026-08-28 · fff00cef35c1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| TahaSh/swapy | main | 26 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem