The modern toolkit for building drag and drop interfaces
reactdraggabledroppablesortabledrag-and-dropdrag
Métricas clave
Crecimiento de estrellas
Estrellas
17.4k
Forks
911
Crecimiento semanal
—
Issues
80
5k10k15k
ene 2021dic 2021nov 2022oct 2023sept 2024ago 2025jul 2026
Artefactosnpmnpm install dnd-kit
README
A modern, lightweight, performant, accessible and extensible drag and drop toolkit for the web
Features
Framework agnostic core: The architecture is built in layers — a framework-agnostic core (@dnd-kit/abstract), a DOM implementation (@dnd-kit/dom), and thin adapters for your framework of choice.
Supports a wide range of use cases: lists, grids, multiple containers, nested contexts, variable sized items, virtualized lists, 2D games, and more.
Built-in support for multiple input methods: Pointer, mouse, touch and keyboard sensors.
Fully customizable & extensible: Customize every detail — animations, transitions, behaviours, styles. Build your own sensors, collision detection algorithms, customize key bindings and more.
Accessibility: Keyboard support, sensible default ARIA attributes, customizable screen reader instructions and live regions built-in.
Performance: Built with performance in mind to support silky smooth animations.
Sortable: Need to build a sortable interface? Check out @dnd-kit/dom/sortable, a thin layer built on top of the core.