문서/Changelog

3.0.0-beta.1

The first beta of v3, released on October 30, 2026. A rewrite with sortable lists and trees built in.

이 페이지 편집

v3 is a rewrite. One package, @vue-dnd-kit/core, does drag and drop, sortable lists and trees; @vue-dnd-kit/actions scripts drags from code, @vue-dnd-kit/devtools adds a tab to the Vue DevTools, and @vue-dnd-kit/nuxt sets it up in Nuxt.

Live

데모 불러오는 중…

<script setup lang="ts">
import { DnDProvider } from '@vue-dnd-kit/core';
import Trip from './Trip.vue';
</script>

<template>
  <DnDProvider>
    <Trip />
  </DnDProvider>
</template>

What it brings

  • Sortable lists, grids and trees, built in: you render a draft of your array that reorders while you drag, and the drop writes the new order into your ref (or hands you e.result).
  • Lists that share items: groups, copies, swaps, rules for what goes where.
  • Multi-drag with your own selection, and a rubber band (makeSelectionArea).
  • Drop zones with accept rules, and drops you confirm, refuse or apply yourself (onBeforeDrop).
  • Animations by default: items slide, the drop lands on its slot, a cancel flies back.
  • The keyboard and screen readers: drags by slots, announcements, ARIA attributes.
  • Areas (makeDragArea): an axis, bounds, a grid, auto-scroll or a longer press for a part of the page, under one provider.
  • Virtual lists, sensors of your own, and DevTools.

Start with the introduction. Coming from v2, see migrating from v2.