React Component For Draggable Elements – drag-react

This package is a React.js component for creating draggable elements. It makes it easy to grab the DOM element and manipulate its position using mouse and touch.

How to use it:

1. Installation.

# Yarn
$ yarn add drag-react

$ npm i drag-react

2. Import the drag-react

import { Draggable } from ‘drag-react’;

3. Create a draggable element in your app.

  <div>Draggable Element</div>

4. Available props.

style?: Object,
className?: string,
children: any


React Component For Draggable Elements

Download Details:


Live Demo: View The Demo

Download Link: Download The Source Code

Official Website:


Add Comment