Gathering detailed insights and metrics for @hello-pangea/dnd
Gathering detailed insights and metrics for @hello-pangea/dnd
๐ Beautiful and accessible drag and drop for lists with React. โญ๏ธ Star to support our work!
npm install @hello-pangea/dnd
Typescript
Module System
Node Version
NPM Version
86.9
Supply Chain
95.5
Quality
89.2
Maintenance
100
Vulnerability
100
License
TypeScript (98.87%)
JavaScript (1.08%)
HTML (0.03%)
MDX (0.03%)
Love this project? Help keep it running โ sponsor us today! ๐
Total Downloads
26,005,861
Last Day
20,090
Last Week
490,029
Last Month
1,882,455
Last Year
17,463,682
NOASSERTION License
2,831 Stars
1,113 Commits
100 Forks
6 Watchers
30 Branches
120 Contributors
Updated on Feb 17, 2025
Minified
Minified + Gzipped
Latest Version
18.0.1
Package Id
@hello-pangea/dnd@18.0.1
Unpacked Size
1.20 MB
Size
282.13 kB
File Count
245
NPM Version
11.0.0
Node Version
22.12.0
Published on
Feb 09, 2025
Cumulative downloads
Total Downloads
Last Day
-5.4%
20,090
Compared to previous day
Last Week
3.7%
490,029
Compared to previous week
Last Month
39.1%
1,882,455
Compared to previous month
Last Year
125.8%
17,463,682
Compared to previous year
5
116
Alex Reardon has created a free course on egghead.io
๐ฅ (using react-beautiful-dnd) to help you get started with @hello-pangea/dnd
as quickly as possible.
<table>
reordering - table pattern<Draggable />
@atlaskit/tree
package<Droppable />
list can be a scroll container (without a scrollable parent) or be the child of a scroll container (that also does not have a scrollable parent)@hello-pangea/dnd
exists to create beautiful drag and drop for lists that anyone can use - even people who cannot see. For a good overview of the history and motivations of the project you can take a look at these external resources:
There are a lot of libraries out there that allow for drag and drop interactions within React. Most notable of these is the amazing react-dnd
. It does an incredible job at providing a great set of drag and drop primitives which work especially well with the wildly inconsistent html5 drag and drop feature. @hello-pangea/dnd
is a higher level abstraction specifically built for lists (vertical, horizontal, movement between lists, nested lists and so on). Within that subset of functionality @hello-pangea/dnd
offers a powerful, natural and beautiful drag and drop experience. However, it does not provide the breadth of functionality offered by react-dnd
. One shortcoming is that grid layouts are not supported (yet). So @hello-pangea/dnd
might not be for you depending on what your use case is.
The ways in which somebody can start and control a drag
<DragDropContext />
- Wraps the part of your application you want to have drag and drop enabled for<Droppable />
- An area that can be dropped into. Contains <Draggable />
s<Draggable />
- What can be dragged around<DragDropContext />
responders - onDragStart
, onDragUpdate
, onDragEnd
and onBeforeDragStart
<Draggable />
sinnerRef
draggableId
and droppableId
sdoctype
TypeScript
: type information<svg>
s@hello-pangea/dnd
<Draggable />
s during a drag (11.x behaviour) - โ ๏ธ Advanced<Draggable />
- Using our cloning API or your own portalAlex Reardon @alexandereardon
Alex is no longer personally maintaning this project. The other wonderful maintainers are carrying this project forward.
react-beautiful-dnd
. Atlassian is no longer involved with this project.Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.
No vulnerabilities found.
No security vulnerabilities found.