Vue Drag And Drop List

Posted on  by admin


Drag and drop are all about a user using a mouse or touch screen for dragging and dropping elements. With this article, you can decide draggable and droppable elements for your Vue websites, extensions, and applications. Here are some best Vue drag and drop libraries you can work with. This is also known as Vue.js.2.0 or directive (Vue.js 1.0). Draggable has a lot of similarities with Sortable.js. It works for all Sortable features. HTML and View model list synchronization . It interacts well with Vue.js 2.0 transition group.


7. draggable-vue-directives

startDrag: (event , product)
event.dataTransfer.dropEffect = ‘move’
event.dataTransfer.effectAllowed = ‘move’

Web development, programming languages, Software testing & others

UI library components like Vuetify, element or Vue material can be used again and made draggable via tag and component data props by Vue Draggable.

Vue wrapper for dragula drag and drop library is Vue2-dragula. Vue 1 is less flexible (more rigid) and powerful compared to it. Easily gets along with Vue 2.

17. vue-form-builder

onDrop (event, product)
Const product_ID = event.dataTransfer.getData(‘productID’)
Const product = this.product.find(product = product.idproductID)
product.list = list

Through the use of Awe-dnd, elements can be draggable in Vue.

It is designed to function compatibly with Vue 1.0 and Vue 2.0. It is designed to function compatibly with desktop and mobile computers.

API: Container

  1. It is designed to function compatibly with multi comb drag. It is used for draggable and resizable elements in Vue 2.
  2. v1 is the lower version of VueDraggableResizable 2. It allows you to make use of your own classes and markup for handles.
  3. It gives only parent element access to size alteration and movement.
  4. Drag is restricted to vertical and horizontal axes. It has to do with the modification of HTML5 drag and drop API with lists.
  5. It is designed to function with Vue.js versions 1 and 2.
  6. Modern browsers and Internet Explorer 9+ are compatible with it.
  7. Trees and other fancy structures constructed by nested lists is designed to function with it.

vue-slicksort has to do with turning mere lists to an animated, touch-friendly and sortable list.

Lightweight library. Touch is enabled. Drag is only limited to vertical and horizontal axes. Size and movement limited to parent elements. With vue-drag-it-dude, there is no limit to where you can move an object to. It can be moved with mouse or touch effect. Active and drag events emission. Knowledge of content sizes.

This is just a Vue native HTML5 drag and drop implement. Vue drag and drop library. No dependencies.

  • It is widely used because of its simplicity.
  • This is just a Vue component that serves the purpose of dragging and dropping the hierarchical list.
  • Customizable and configurable. Items are being reordered above each other.
  • Right dragging results into nested items. It is known as a draggable tree component.
  • Demo style is simple. Node rendering slots are revealed .
  • This is a sortable drag and drops library for Vue.js.
  • Fast and lightweight. It has many configuration options .
  • It is more of wrapper Vue.js components than smooth-dnd library. It is a drag and drops Vue.js wrapper for swing. It has swipeable cards interface. Left swipe stands for Yes.

Right swipe stands for No.

  • This is a Vue.js draggable component that makes any element draggable.
  • It is super simple. It is a Vue.js component. It is a Vue component that affects an element in all areas.
  • Elements can be resized. Elements can be moveable.
  • Elements can be draggable. Elements can also be scalable and rotatable and wrappable.


This is just a simple drag and drop with a simple form builder that makes your site more generic and configurable. Not too many codes in development.

Without stress, you can configure your form. Not in any way difficult to maintain.

This is just a grid layout system that works for Vue.js.

Widgets can be resizeable and draggable.

Restoration and serialization of the layout if need be. You don’t have to build grid again because widgets can be removed and added .

That was a long journey! We hope that you have now an idea of what Vue drag and drop libraries to use depends on your needs and preference.

The above mentioned 18 best drag and drop libraries are some of the very best components for Vue.

They are virtually easy to work with and self-explanatory.

Drag and drop have become a popular part of webs these days. With different emerging frontend systems, it has never been simpler than this to design and includes numerous segments for websites and applications.

So let us now have a brief discussion on an example of Drag And Drop feature on the list using HTML, CSS, and JavaScript ( Vue JS).

The capacity to rearrange information is a prime utilization of dragging.

This example shows how we can utilize the UI to put things on an explicit place and even switch between things, if essential.

If you see in the design, there are a total of 4 items that are set as numbers. You can simply click on it, drag it and drop it to the nearby item’s place.

For instance, let us say you want to drag the item ‘One’ and want to drop it to the place where ‘three’ stays. Once you do it, you can see that ‘One’ is in the place of ‘three’.

  • Similarly, ‘three’ is in the place of ‘two’ and ‘two is in place of one’.
  • You will understand everything once you see the demo. See the Pen Vue drag-drop-list by Theo M Jones (@theomj)on CodePen.
  • The animation involves a featured drop here name on a destined position. This assists in knowing that drag and drop action are going to succeed and give a review of the final list of applications.

API: Draggable

Other than this in the event that you attempt to drop the draggable content outside of the respond container, javascript will show an invalid icon. Truth be told, you won’t be capable drop it outside of the endorsed zone. Consequently, this sets a legitimate traversal way for clients.


When you experience with this format, it will give your website that expert look it merits. You can likewise customize it by changing texts, include your media and set square parameters.