
Description
ngx-drag-drop is a set of Angular directives for drag and drop, built on the native HTML5 Drag and Drop API. It gives a declarative way to make sortable lists with a placeholder element, in vertical or horizontal layouts, and to nest drop zones. Drop zones can also accept external draggables such as images, text and files. Drag and drop can be limited by conditions or by type, the library uses effectAllowed, and custom CSS classes can be applied. It is AOT compatible. The README describes it as a port of angular-drag-drop-lists without the lists, because its dndDropzone directive is general purpose and does not manage lists itself. For Angular compatibility, version 13 and later match the Angular major version, so Angular 22 uses 22.x, and Angular 4 to 12 use version 2.x. The README has usage and API sections. Touch support is marked experimental, because the native drag API is not supported on most mobile browsers, including iOS Safari, and a polyfill is needed. The source is public on GitHub. It suits Angular apps with reorderable lists, grids or drop areas on desktop.…
Highlights
- Sortable lists with placeholders
- Nested drop zones
- External files, images and text
- Typed and conditional drop rules
- Experimental touch support
Ratings & Reviews
No ratings yet
Be the first to rate ngx-drag-drop.
People also visit

@georgipeltekov/ngx-file-drop
Angular module for simple desktop file and folder drag and drop
ngx-drag-drop FAQ
What is ngx-drag-drop?
A set of Angular directives for drag and drop, built on the HTML5 Drag and Drop API.
Which version matches my Angular app?
From version 13, the library version matches the Angular major version, so Angular 22 uses 22.x. Angular 4 to 12 use version 2.x.
Does it work on phones?
The README says touch support is experimental, because the native API is not supported on most mobile browsers, including iOS Safari.
Is the source available?
Yes. The code is public on GitHub.
What are the best ngx-drag-drop alternatives?
Popular alternatives to ngx-drag-drop include ng-dnd, ngx-puzzle and @georgipeltekov/ngx-file-drop. See all ngx-drag-drop alternatives

















