search
Get Started
search
VU

Vue.Draggable

language

description Vue.Draggable Overview

By wrapping SortableJS in a Vue component, Vue.Draggable connects drag-and-drop interaction with application list data. Users can reorder displayed items or move them between configured lists, while the component helps keep those changes tied to the underlying Vue state. It is relevant to sortable data displays and table interfaces where the implementation gives rows or items a draggable representation. The component suits developers who want SortableJS behavior within Vue's component model rather than wiring the library into the page manually.

Configuration controls details such as drag handles and movement between groups. Framework compatibility matters: the original Vue.Draggable project targets Vue 2, while Vue 3 uses the related vue.draggable.next project. The official repository explains the component and its integrations.

help Vue.Draggable FAQ

Is Vue.Draggable still maintained in 2024 and 2025 with Vue 3?

The original `vuedraggable` package was built primarily for Vue 2 and its maintenance has slowed significantly, which has caused issues for Vue 3 users. The community has largely shifted to the `vuedraggable@next` fork or to `sortablejs-vue3` for Vue 3 compatibility.

How do I install Vue.Draggable for a Vue 3 project?

For Vue 3 projects, install `vuedraggable@next` via npm, which is the Vue 3-compatible version that wraps SortableJS. Import the `draggable` component in your script and use it inside a Vue 3 template with the Composition API or Options API.

Can Vue.Draggable handle nested lists for drag-and-drop between groups?

Yes, Vue.Draggable supports the `group` configuration option (inherited from SortableJS), which allows items to be dragged between multiple list instances. You can build tree views and kanban boards by setting the same `group` name on connected draggable components.

What is the underlying library that Vue.Draggable is built on?

Vue.Draggable is a Vue.js wrapper around SortableJS, a vanilla JavaScript drag-and-drop library. This means all of SortableJS's configuration options (like `animation`, `ghostClass`, `chosenClass`, and `group`) can be passed through as props on the Vue component.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare