Back to gallery
declarative-dragging/dragology on GitHub — open-source project preview
declarative-dragging

dragology

Stars
832
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~832 stars/day lifetime
Editor's take

Dragology is a library for building unusual drag-and-drop interfaces, based on the research idea of model-driven, composable dragging described on the Declarative Dragging site. Instead of moving DOM nodes around, you describe how state should change as something is dragged, which makes interactions like dragging an SVG point along a constraint far easier than with list-sorting libraries. It has more than 1,000 commits and a large demo gallery. The tradeoff is stated in the README: there is no proper documentation yet, so you learn from the demos, a Vite example and an LLM-written AGENTS.md. MIT, about 830 stars.

Use this if

You are building editors, diagram tools or interactive explainers where dragging changes a model, not just a list order.

Skip if

You need sortable lists or kanban boards; dnd-kit or Pragmatic drag and drop are documented and built for exactly that.

UI Components
Quick install
# Clone + explore:
git clone https://github.com/declarative-dragging/dragology
cd dragology
# Then read the README below for setup steps.

Inferred from package · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026