Add drag-and-drop card reordering to a Kanban board or to-do list app built with Vue 3.
Let users rearrange items in a playlist or ranked list by dragging, on both desktop and mobile touch screens.
Build a feature where users drag items between two separate lists, like moving tasks from a backlog to an active sprint.
Enable drag-and-drop reordering within a Vuetify or Element Plus list component.
Vue.draggable.next is a component for Vue.js 3 (a popular JavaScript framework for building web interfaces) that lets developers add drag-and-drop behavior to lists on a page. If you have ever used a project board or to-do app where you can grab a card and drop it in a new position, this library provides the building blocks for exactly that kind of interaction. The component works by wrapping a list of items in your web page. When a user picks up an item and drops it somewhere new, the list stored in your app's data updates automatically to match the new order. This keeps the visual display and the underlying data in sync without the developer writing extra code to reconcile them. The library supports touch screens, so it works on phones and tablets as well as desktop browsers. It can handle dragging items between two separate lists, supports drag handles (a specific part of an item that initiates the drag), and includes smart auto-scrolling when you drag near the edge of a container. It does not require jQuery, a JavaScript library that older projects often depend on. The component also works alongside popular Vue UI libraries such as Vuetify and Element. If your app already uses one of those for its look and feel, you can apply draggable behavior on top of their components using two configuration props. For developers moving from the Vue 2 version of this library, the README lists the breaking changes clearly. Items now require a unique key, and you define how each item looks using a named slot rather than placing elements directly inside the component tag. Installation takes a single terminal command, either with npm or yarn. Basic usage in a template is a few lines of markup binding your data array to the component via Vue's v-model convention.
← sortablejs on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.