20+ React Drag and Drop Components Examples

Explore the 20+ best React drag and drop components to help you create interactive and user-friendly interfaces for your apps. These examples cover a wide range of use cases, including file upload, sorting, and reordering. 

1.Drag and drop page building for any site

This is image title

What is it good for?

  • Landing pages
  • Documentation
  • Blogging
  • Marketing pages (homepage, etc)
  • Content pages (about, FAQ, etc)
  • Optimization (ab test pages)
  • Marketing teams that never stop asking for changes
  • Developers who are tired of pushing pixels

View on Github

2 .React juggle & drop

Juggle all your tasks! (A fullstack Kanban app w/ drag-and-drop) drag-and-drop task management with react-beautiful-dnd.

React juggle & drop

Features

  • Add, edit, and delete cards and lists
  • Drag-and-drop cards between and within lists
  • Drag-and-drop cards lists on the board
  • Add and delete boards

View on Github

3.React Kanban

Yet another Kanban/Trello board lib for React.

React Kanban

View on Github

4.Nested-dnd

Proof of concept for doing a nested drag and drop in React. Features smooth, animated drop and cancel.
At the moment this serves more as a proof of concept (or example) rather than a library-like thing.

Nested-dnd

Features

  • Allows you to drag a part of the stack with the items lying on top of the dragged one.
  • Drop it on top of any other stack so the elements will smoothly migrate there.
  • Drop it anywhere so the elements smoothly go back to their place.

View on Github

5.React Virtualized Dnd

React drag and drop framework with inbuilt virtualizing scrollbars.

This library was made by Forecast - powered by AI, Forecast is supporting your work process with a complete Resource & Project Management platform. Connect your work, fill your pipeline, & meet your deadlines at www.forecast.app

React Virtualized Dnd

react-virtualized-dnd is a React-based, fully virtualized drag-and-drop framework, enabling the the cross over of great user interaction and great performance. This project was made in response to the large amount of issues experienced trying to use virtualization libraries together with drag and drop libraries - react-virtualized-dnd does it all for you!

View on Github

6.React Sortablejs

A React component built on top of the mature drag and drop library, Sortable
React component wrapping SortableJS!

React Sortablejs

We’re now on version 2.0! A major API overhaul with typescript types.

Live Demo

View on Github

7.React Butterfiles

Component for building file fields - from basic file inputs to drag and drop image galleries.

This is image title

A small component for building file upload fields of any type, for example a simple file upload button or an image gallery field with drag and drop support and preview of selected images.

Live Demo:
View on Github

8. Drag-and-drop cards implemented using React and dragula

Drag-and-drop cards implemented using React and dragula.

Demo:

9.Sortable

Sortable — is a JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Ember, Knockout and any CSS library, e.g. Bootstrap.

Sortable

Features

  • Supports touch devices and modern browsers (including IE9)
  • Can drag from one list to another or within the same list
  • CSS animation when moving items
  • Supports drag handles and selectable text (better than voidberg’s html5sortable)
  • Smart auto-scrolling
  • Advanced swap detection
  • Smooth animations
  • Multi-drag support
  • Support for CSS transforms
  • Built using native HTML5 drag and drop API

Demo: http://sortablejs.github.io/Sortable/

View on Github

10.Natural Drag Animation Rbdnd

Addon for the ‘react-beautiful-dnd’ that adds natural dragging animation

Natural Drag Animation Rbdnd

Demo https://rokborf.github.io/natural-drag-animation-rbdnd/

View on Github

11.React Sortable Tree

Drag-and-drop sortable component for nested data and hierarchies
A React component for Drag-and-drop sortable representation of hierarchical data. Checkout the demo for a demonstration of some basic features. Checkout the storybook for advanced usage

React Sortable Tree

Demo https://frontend-collective.github.io/react-sortable-tree/

12.Simple, elegant & efficient drop-zone component

This is a simple but customizeable component. You can choose between a pre-styled version, or a bare component that allows you to specify a render function.

Both versions will trigger an .onDrop(file: HTML5 File, text: String), so you get both the file handle and its text content in a single event (file reading can be disabled).

DropZone

Demo https://stackblitz.com/edit/react-styled-drop-zone-demo

View on Github

13.DragDropContainer and DropTarget

ReactJS drag and drop functionality for mouse and touch devices.

DragDropContainer and DropTarget

Features

  • Very easy to implement and understand.
  • Works on mouse and touch devices.
  • Automatically scrolls the page when you drag to the edge, so you can drag to a target that’s initially offscreen.
  • Optional drag handles (with dragHandleClassName prop).
  • Can automatically highlight the dropTarget when dragging over it (highlightClassName property).
  • Can constrain dragging to one dimension with xOnly and yOnly properties.
  • Useful options like dragClone (drag a copy of the element), customDragElement (drag a custom element rather than the source element), and disappearDraggedElement (make the original element completely disappear while dragging).
  • Can implement using the components as wrappers or by passing them a render prop.

Live demo https://peterh32.github.io/react-drag-drop-container/

View on Github

14.React Trello

Pluggable components to add a trello-like kanban board to your application.
React Trello

Features

  • responsive and extensible
  • easily pluggable into existing application
  • supports pagination when scrolling individual lanes
  • drag-and-drop cards and lanes (compatible with touch devices)
  • event bus for triggering events externally (e.g.: adding or removing cards based on events coming from backend)
  • edit functionality to add/delete cards
  • Parameterised templates to customize lane and card appearance

View on Github

15.Braintree Web Drop-in React

This is a React component that wraps braintree-web-drop-in (v3).
Braintree Web Drop-in React

View on Github

16.React Sortable (HOC)

A set of higher-order components to turn any list into an animated, touch-friendly, sortable list.
React Sortable (HOC)

Features
Higher Order Components – Integrates with your existing components
Drag handle, auto-scrolling, locked axis, events, and more!
Suuuper smooth animations – Chasing the 60FPS dream rainbow
Works with virtualization libraries: react-virtualized, react-tiny-virtual-list, react-infinite, etc.
Horizontal lists, vertical lists, or a grid ↔ ↕ ⤡
Touch support ok_hand

Examples available here: http://clauderic.github.io/react-sortable-hoc/

View on Github

17.React Smooth dnd

A fast and lightweight drag&drop, sortable library for React with many configuration options covering many d&d scenarios. It uses css transitions for animations so it’s hardware accelerated whenever possible.

This library consists wrapper React components over smooth-dnd library.
React Smooth dnd

Demo https://kutlugsahin.github.io/smooth-dnd-demo/
View on Github

18.Drag & Drop Grid Layout in React

React implementation of a sortable drag and drop list organised into columns.

19.Dragact is a React component

Dragact is a React component that enables you to build a powerful drag-and-drop grid layout easily and quickly.
Dragact is a React component

View on Github

20.React Droparea

Drag and Drop library for React,HTML5 file Drag and Drop component.
React Droparea

View on Github

21.React dragula

Drag and drop so simple it hurts,Official React wrapper for dragula.
This is image title

Live Demo
http://bevacqua.github.io/react-dragula/

View on Github

22.React Sortable Pane

Sortable and resizable pane component for React
React Sortable Pane

View on Github

#reactjs #javascript #programming

20+ React Drag and Drop Components Examples
177.20 GEEK