# react-dnd/react-dnd

Drag and Drop for React

Repository: https://github.com/react-dnd/react-dnd
Canonical: https://ross.abutalabs.com/products/react-dnd
Homepage: http://react-dnd.github.io/react-dnd
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, drag-and-drop, not-the-game
Last push: 2025-07-06T10:22:50+00:00

## Health v2 (maintenance only)
Score: 36/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 30, release rhythm 8, longevity 100
- inputs: {"age_days": 4336, "days_push": 423, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 21637, forks 1995 (observed 2026-08-28T04:11:31.895304+00:00)

## What it is
React DnD is a set of React utilities for building drag-and-drop interfaces, built on the HTML5 drag-and-drop API with touch and custom backends. It uses a declarative, data-driven approach where components declare their drag sources and drop targets.

## Use cases
- add drag and drop to react components
- build sortable lists in react
- implement kanban board drag and drop
- reorder items with drag and drop
- drag files or cards between containers in react
- declarative drag and drop for react app

## When to choose
- you need mature, battle-tested drag-and-drop for React with a large ecosystem
- you want a declarative API with testable drag sources and drop targets
- you need custom drag previews or multiple backends (HTML5, touch, test)

## When to avoid
- you use a framework other than React
- you only need simple sortable lists where a lighter library like dnd-kit may suffice
- you need drag-and-drop outside the browser, e.g. native desktop apps

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser, cross-platform
- tags: react, drag-and-drop, typescript, html5-drag-drop, touch-support, nodejs

## Member repositories
- react-dnd/react-dnd (main) score 36

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:31.895304+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:51.127779+00:00, confidence not recorded.
  - readme: https://github.com/react-dnd/react-dnd (fetched 2026-08-28T04:11:31.895304+00:00, sha cf861675fd66)
  - homepage: http://react-dnd.github.io/react-dnd (fetched 2026-08-29T07:56:45.418563+00:00, sha 044cf70b16df)
  - registry_npm: https://registry.npmjs.org/react-dnd (fetched 2026-08-29T07:56:45.427754+00:00, sha 9b501fa4a3d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
