@dnd-kit/sortable
Official sortable preset and sensors for dnd kit
Last updated 3 years ago by clauderic .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @dnd-kit/sortable 
SYNC missed versions from official npm registry.

@dnd-kit/sortable

Stable release

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 @dnd-kit/sortable

Architecture

The sortable preset builds on top of the primitives exposed by @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 useSortable hook.
  • The useSortable hook is an abstraction that composes the useDroppable and useDraggable hooks.

The useSortable hook is an abstraction that composes the useDroppable and useDraggable hooks

Usage

Visit docs.dndkit.com to learn how to use the Sortable preset.

Current Tags

  • 8.0.0                                ...           latest (a year ago)
  • 8.0.0-next-2023106221355                                ...           next (a year ago)

103 Versions

  • 8.0.0                                ...           a year ago
  • 8.0.0-next-2023106221355                                ...           a year ago
  • 8.0.0-next-202310621567                                ...           a year ago
  • 8.0.0-next-2023106211358                                ...           a year ago
  • 7.0.2                                ...           2 years ago
  • 7.0.2-next-202304205747                                ...           2 years ago
  • 7.0.1                                ...           2 years ago
  • 7.0.1-next-2022514171437                                ...           2 years ago
  • 7.0.1-next-20225918369                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 7.0.0-next-202242114536                                ...           2 years ago
  • 7.0.0-next-20224211189                                ...           2 years ago
  • 7.0.0-next-20224211110                                ...           2 years ago
  • 7.0.0-next-2022420172442                                ...           2 years ago
  • 7.0.0-next-202242022119                                ...           2 years ago
  • 7.0.0-next-202242021343                                ...           2 years ago
  • 7.0.0-next-20224202634                                ...           2 years ago
  • 7.0.0-next-202242015231                                ...           2 years ago
  • 7.0.0-next-202242014214                                ...           2 years ago
  • 7.0.0-next-2022419212032                                ...           2 years ago
  • 7.0.0-next-20224191800                                ...           2 years ago
  • 7.0.0-next-2022419135322                                ...           2 years ago
  • 7.0.0-next-202241914636                                ...           2 years ago
  • 7.0.0-next-2022418215814                                ...           2 years ago
  • 7.0.0-next-2022417214515                                ...           2 years ago
  • 7.0.0-next-20224171791                                ...           2 years ago
  • 7.0.0-next-20224172615                                ...           2 years ago
  • 7.0.0-next-202241322536                                ...           3 years ago
  • 7.0.0-next-20223141625                                ...           3 years ago
  • 7.0.0-next-202234161355                                ...           3 years ago
  • 7.0.0-next-20222231225                                ...           3 years ago
  • 7.0.0-next-202222235316                                ...           3 years ago
  • 7.0.0-next-202222116288                                ...           3 years ago
  • 7.0.0-next-20222200858                                ...           3 years ago
  • 7.0.0-next-202221724226                                ...           3 years ago
  • 7.0.0-next-202221516253                                ...           3 years ago
  • 7.0.0-next-202221523720                                ...           3 years ago
  • 7.0.0-next-2022212212756                                ...           3 years ago
  • 6.0.1                                ...           3 years ago
  • 6.0.1-next-20222110525                                ...           3 years ago
  • 6.0.1-next-202229215142                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 6.0.0-next-202201015122                                ...           3 years ago
  • 6.0.0-next-202201012117                                ...           3 years ago
  • 6.0.0-next-20220101438                                ...           3 years ago
  • 6.0.0-next-202209232458                                ...           3 years ago
  • 6.0.0-next-202209174015                                ...           3 years ago
  • 6.0.0-next-202209161019                                ...           3 years ago
  • 6.0.0-next-202209154910                                ...           3 years ago
  • 6.0.0-next-20220818116                                ...           3 years ago
  • 6.0.0-next-202208173143                                ...           3 years ago
  • 6.0.0-next-202207414                                ...           3 years ago
  • 6.0.0-next-20220714748                                ...           3 years ago
  • 6.0.0-next-20220533340                                ...           3 years ago
  • 6.0.0-next-202204222123                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.1.0-next-2021101420823                                ...           3 years ago
  • 5.1.0-next-202192516250                                ...           3 years ago
  • 5.1.0-next-2021925161928                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 5.0.0-next-202181324619                                ...           3 years ago
  • 5.0.0-next-2021812203234                                ...           3 years ago
  • 5.0.0-next-2021812154850                                ...           3 years ago
  • 5.0.0-next-202181114132                                ...           3 years ago
  • 5.0.0-next-2021811133141                                ...           3 years ago
  • 5.0.0-next-202181103455                                ...           3 years ago
  • 5.0.0-next-2021810142856                                ...           3 years ago
  • 5.0.0-next-2021810135156                                ...           3 years ago
  • 5.0.0-next-202187151336                                ...           3 years ago
  • 5.0.0-next-20218217134                                ...           3 years ago
  • 5.0.0-next-2021731134352                                ...           3 years ago
  • 5.0.0-next-2021725154644                                ...           3 years ago
  • 5.0.0-next-20217252926                                ...           3 years ago
  • 5.0.0-next-202172315242                                ...           3 years ago
  • 5.0.0-next-2021720152655                                ...           3 years ago
  • 5.0.0-next-202172014141                                ...           3 years ago
  • 5.0.0-next-2021718215637                                ...           3 years ago
  • 5.0.0-next-2021718145934                                ...           3 years ago
  • 5.0.0-next-2021718145434                                ...           3 years ago
  • 5.0.0-next-2021718144435                                ...           3 years ago
  • 5.0.0-next-2021627184218                                ...           3 years ago
  • 5.0.0-next-202162325232                                ...           3 years ago
  • 5.0.0-next-20216230015                                ...           3 years ago
  • 5.0.0-next-202162222303                                ...           3 years ago
  • 5.0.0-next-202162218122                                ...           3 years ago
  • 5.0.0-next-2021622162027                                ...           3 years ago
  • 5.0.0-next-2021622143058                                ...           3 years ago
  • 5.0.0-next-202162213714                                ...           3 years ago
  • 5.0.0-next-2021621215041                                ...           3 years ago
  • 5.0.0-next-2021621163226                                ...           3 years ago
  • 5.0.0-next-202162115243                                ...           3 years ago
  • 5.0.0-next-202152313425                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.1.0                                ...           3 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 67
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (2)
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE