# React DnD

[BASE product page](<https://base.akulich.dev/en/library/react-dnd/>) · [Resource](<https://github.com/react-dnd/react-dnd>)

ID: react\-dnd · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A drag\-and\-drop library for React: connects drag sources and drop targets and helps build editors and sortable interfaces\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/react-dnd/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/react-dnd/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/react-dnd/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/react-dnd/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/react-dnd/#resource-tasks>)

- Add dragging an object between React areas
- Connect the drop callback to editor data changes

## Category IDs

- frontend
- design

## Subcategory IDs

- frontend\.components
- design\.systems

## Tags

- React DnD
- UI
- Development

## Also known as

- react\-dnd/react\-dnd
- react\-drag\-and\-drop
- react\-dnd\-library

## [Selection purpose](<https://base.akulich.dev/en/library/react-dnd/#resource-selection>)

Add dragging an object between React areas

## [Choose this when](<https://base.akulich.dev/en/library/react-dnd/#resource-selection>)

- Add dragging an object between React areas
- Connect the drop callback to editor data changes

## [Requirements](<https://base.akulich.dev/en/library/react-dnd/#resource-selection>)

- Wrap the drag\-and\-drop area in DndProvider with the selected backend or an existing DragDropManager\.

## [Limitations](<https://base.akulich.dev/en/library/react-dnd/#resource-selection>)

- Costs and limits of free use: Computing resources, self\-hosting, and external services are paid for separately if used\.
- Terms of use: MIT for the code; dependencies have separate licenses\.
- The DndProvider API requires a backend or manager: merely displaying a draggable element is not enough to establish a shared drag\-and\-drop context\.

## [Questions before use](<https://base.akulich.dev/en/library/react-dnd/#resource-faq>)

### What can you use for free in React DnD?

Code and local use under MIT\.

### What additional costs might arise with React DnD?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for React DnD?

MIT for the code; dependencies have separate licenses\.

### How do you get started with React DnD?

Define drag sources, drop targets, and the drag payload\. Connect the drop callback to editor data changes\. Configure styles and check empty, loading, and error states\.

### Can you supply your own manager to React DnD?

In the primary DndProvider\.tsx source, props are represented as two alternatives: manager, or backend with context/options\. In the first case, the provider uses the supplied DragDropManager; in the second, it creates one from the backend\. This allows explicit integration control rather than assuming an automatically selected engine\.

## Sources for the selection guide

- [https://github\.com/react\-dnd/react\-dnd](<https://github.com/react-dnd/react-dnd>)
- [https://raw\.githubusercontent\.com/react\-dnd/react\-dnd/HEAD/README\.md](<https://raw.githubusercontent.com/react-dnd/react-dnd/HEAD/README.md>)
- [https://raw\.githubusercontent\.com/react\-dnd/react\-dnd/HEAD/LICENSE](<https://raw.githubusercontent.com/react-dnd/react-dnd/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://raw\.githubusercontent\.com/react\-dnd/react\-dnd/main/packages/react\-dnd/src/core/DndProvider\.tsx](<https://raw.githubusercontent.com/react-dnd/react-dnd/main/packages/react-dnd/src/core/DndProvider.tsx>)

## [Possible workflow](<https://base.akulich.dev/en/library/react-dnd/#resource-scenario>)

Add dragging an object between React areas\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The component's design, states, and data\.
- A compatible framework and the project's styles\.

## Steps

1. Define drag sources, drop targets, and the drag payload\.
2. Connect the drop callback to editor data changes\.
3. Configure styles and check empty, loading, and error states\.

## Check your result

- The keyboard, focus indicators, and a screen reader let users complete the action\.
- The component works on a narrow screen and with long data values\.

## [License](<https://base.akulich.dev/en/library/react-dnd/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/react-dnd/#resource-sources>)

- [Official source](<https://github.com/react-dnd/react-dnd>)
- [Official source](<https://raw.githubusercontent.com/react-dnd/react-dnd/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/react-dnd/react-dnd/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://raw.githubusercontent.com/react-dnd/react-dnd/main/packages/react-dnd/src/core/DndProvider.tsx>)

## Editorial review date

2026\-10\-06

## Editorial review scope

The purpose, current repository license, and separate terms for code, services, and models have been reviewed\. The product was not run, and no security audit was performed\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
