Need help with dnd-core?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

214 Stars 32 Forks MIT License 223 Commits 2 Opened issues


Drag and drop sans the GUI [Legacy Repo]

Services available


Need anything else?

Contributors list

npm package Build Status Test Coverage bitHound Overall Score bitHound Code bitHound Dependencies bitHound Dev Dependencies

dnd-core [Legacy Repo]

** NOTE: React-Dnd has been restructured as a monorepo. This code has been merged into the the react-dnd main repository.

Drag and drop sans the GUI.

This is a clean implementation of drag and drop primitives that does not depend on the browser. It powers React DnD internally.


To give you a better idea:

  • There is no DOM here
  • We let you define drop target and drag source logic
  • We let you supply custom underlying implementations (console, DOM via jQuery, React, React Native, whatever)
  • We manage drag source and drop target interaction

This was written to support some rather complicated scenarios that were too hard to implement in React DnD due to its current architecture:

As it turns out, these problems are much easier to solve when DOM is thrown out of the window.

What's the API like?

Tests should give you some idea. You register drag sources and drop targets, hook up a backend (you can use barebone

or implement a fancy real one yourself), and your drag sources and drop targets magically begin to interact.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.