The modern toolkit for building drag and drop interfaces
See the codeA modern, lightweight, performant, accessible and extensible drag and drop toolkit for the web
@dnd-kit/abstract), a DOM implementation (@dnd-kit/dom), and thin adapters for your framework of choice.@dnd-kit/dom/sortable, a thin layer built on top of the core.Choose your preferred framework to get started:
|
Build drag and drop interfaces using plain JavaScript
|
Build drag and drop interfaces using React components and hooks
|
|
Build drag and drop interfaces using Vue composables and components
|
Build drag and drop interfaces using Svelte primitives and components
|
|
Build drag and drop interfaces using SolidJS hooks and components
|
Visit dndkit.com for full documentation, API reference, guides, and interactive examples.
| Package | Version | Description |
|---|---|---|
@dnd-kit/abstract | Abstract core | |
@dnd-kit/collision | Collision detection | |
@dnd-kit/dom | Framework-agnostic DOM layer | |
@dnd-kit/geometry | Geometry utilities | |
@dnd-kit/helpers | Helper functions | |
@dnd-kit/react | React adapter | |
@dnd-kit/solid | SolidJS adapter | |
@dnd-kit/state | Reactive state management | |
@dnd-kit/svelte | Svelte adapter | |
@dnd-kit/vue | Vue adapter |
This is a monorepo managed with Turborepo and bun.
# Install dependencies
bun install
# Build all packages
bun run build
# Run dev mode
bun run dev
(top 24 of 159)
1,091 followers · starred Nov 2021
4,971 followers · starred Dec 2022
13,581 followers · starred May 2022
2,346 followers · starred Aug 2022
The modern toolkit for building drag and drop interfaces
See the codeA modern, lightweight, performant, accessible and extensible drag and drop toolkit for the web
@dnd-kit/abstract), a DOM implementation (@dnd-kit/dom), and thin adapters for your framework of choice.@dnd-kit/dom/sortable, a thin layer built on top of the core.Choose your preferred framework to get started:
|
Build drag and drop interfaces using plain JavaScript
|
Build drag and drop interfaces using React components and hooks
|
|
Build drag and drop interfaces using Vue composables and components
|
Build drag and drop interfaces using Svelte primitives and components
|
|
Build drag and drop interfaces using SolidJS hooks and components
|
Visit dndkit.com for full documentation, API reference, guides, and interactive examples.
| Package | Version | Description |
|---|---|---|
@dnd-kit/abstract | Abstract core | |
@dnd-kit/collision | Collision detection | |
@dnd-kit/dom | Framework-agnostic DOM layer | |
@dnd-kit/geometry | Geometry utilities | |
@dnd-kit/helpers | Helper functions | |
@dnd-kit/react | React adapter | |
@dnd-kit/solid | SolidJS adapter | |
@dnd-kit/state | Reactive state management | |
@dnd-kit/svelte | Svelte adapter | |
@dnd-kit/vue | Vue adapter |
This is a monorepo managed with Turborepo and bun.
# Install dependencies
bun install
# Build all packages
bun run build
# Run dev mode
bun run dev
(top 24 of 159)
1,091 followers · starred Nov 2021
4,971 followers · starred Dec 2022
13,581 followers · starred May 2022
2,346 followers · starred Aug 2022