Description
react-drag-and-drop is a small library of basic drag and drop components for React. It provides Draggable and Droppable containers, and you wrap your components in them instead of using mixins. You define types and the data each draggable carries, and you can hook into the different drag events to add your own behavior. The README is candid that the library is basic. It says you probably want something more stable and feature-rich, such as react-dnd, and that the best way to learn how it works is to look inside its src directory, because the implementation is minimal. The install steps and a basic use example are in the README. The changelog records the library's history. Version 1.0.0 was the initial release. Version 2.1.0 added React 15 support, and 2.0.2 added the enable prop to Draggable. Version 2.2.0 let Droppable accept a className prop, 2.3.0 added an enabled prop for Droppable, and 2.4.0 added a wrapperComponent prop, so you can pass your own component in place of the standard Draggable and Droppable components. Version 3.0.0 added support for React 16 and updated most dev dependencies. The source is on GitHub under the asbjornenge account, and the library suits React developers who need simple drag and drop.…
Highlights
- Draggable and Droppable containers
- Types and data carried by each drag
- Hooks into drag events
- wrapperComponent and enabled props
- React 16 support since version 3.0.0
Ratings & Reviews
No ratings yet
Be the first to rate react-drag-and-drop.
People also visit
react-drag-and-drop FAQ
What is react-drag-and-drop?
A basic drag and drop library for React, with Draggable and Droppable containers.
Is it the recommended choice?
The README says you probably want something more stable and feature-rich, such as react-dnd, and calls this one minimal.
Which React versions does it support?
The changelog lists React 15 support in 2.1.0 and React 16 support in 3.0.0.
How do I customize the containers?
Version 2.4.0 added a wrapperComponent prop, which lets you pass your own component in place of the standard ones.
How do I learn how it works?
The README suggests reading the src directory, since the implementation is minimal.
What are the best react-drag-and-drop alternatives?
Popular alternatives to react-drag-and-drop include react-dnd, react-draggable and react-beautiful-dnd. See all react-drag-and-drop alternatives




















