npm
or yarn
: react
and react-dom
installed in your project, but if not, make sure to install them:@dnd-kit
namespace.@dnd-kit/core
only ships with the main building blocks that the majority of users will need most of the time for building drag and drop experiences:DndContext
as well as DraggableClone
.@dnd-kit/core
package provides all the building blocks you would need to build a sortable interface from scratch should you choose to, but thankfully you don't need to. @dnd-kit/sortable
, which is a small layer built on top of @dnd-kit/core
and optimized for building silky smooth, flexible, and accessible sortable interfaces.next
tag.@next
tag