5.1.0 • Published 4 years ago
@stringke/dnd-kit-sortable v5.1.0
@stringke/dnd-kit-sortable
The sortable preset provides the building blocks to build sortable interfaces with @dnd-kit.
Installation
To get started, install the sortable preset via npm or yarn:
npm install @stringke/dnd-kit-sortableArchitecture
The sortable preset builds on top of the primitives exposed by @stringke/dnd-kit-core to help building sortable interfaces.
The sortable preset exposes two main concepts: SortableContext and the useSortable hook:
- The SortableContext provides information via context that is consumed by the
useSortablehook. - The useSortable hook is an abstraction that composes the
useDroppableanduseDraggablehooks.

Usage
Visit docs.dndkit.com to learn how to use the Sortable preset.
5.1.0
4 years ago