# rescript-dnd
**Repository Path**: mirrors_shakacode/rescript-dnd
## Basic Information
- **Project Name**: rescript-dnd
- **Description**: Drag-n-drop for @rescript/react
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-11-01
- **Last Updated**: 2025-11-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# rescript-dnd
[](https://www.npmjs.com/package/rescript-dnd)
[](https://www.npmjs.com/package/rescript-dnd)
[](https://github.com/shakacode/re-dnd/actions/workflows/pr.yml)
Drag & drop for [`@rescript/react`](https://reasonml.github.io/reason-react/).
## Features
* Vertical lists
* Horizontal lists
* Multiple drop targets
* Mouse & Touch interactions
* Conditional drag & drop
* Custom drag handles
* Scrollable containers
* Auto-scroll when dragging at container's edge
> ### ShakaCode
> If you are looking for help with the development and optimization of your project, [ShakaCode](https://www.shakacode.com) can help you to take the reliability and performance of your app to the next level.
>
> If you are a developer interested in working on ReScript / TypeScript / Rust / Ruby on Rails projects, [we're hiring](https://www.shakacode.com/career/)!
## Installation
```shell
# yarn
yarn add rescript-dnd rescript-webapi
# or npm
npm install --save rescript-dnd rescript-webapi
```
Then add it to `bsconfig.json`:
```json
"bs-dependencies": [
"rescript-dnd",
"rescript-webapi"
]
```
## Docs
* [Getting Started](./docs/01-GettingStartedGuide.md)
* [Advanced guide: Safer identifiers and multiple containers](./docs/02-SaferIdentifiersAndMultipleContainersGuide.md)
* [Api](./docs/03-Api.md)
## Examples
* Demos: [`live`](https://rescript-dnd.vercel.app) | [`sources`](./examples)
* Production app: [`Minima`](https://minima.app)
## State
🚧 The library is not feature-complete and some features/apis might be missing.
🎙 Let us know if you miss anything via [creating an issue](issues/new).
🌎 We're using it in production BTW.
### Features we'd like to add at some point
- [ ] Keyboard interactions
- [ ] Ignore form elements (opt-out)
- [ ] Drop-zones
- [ ] Multi-select
## Thanks
* To [`react-beautiful-dnd`](https://github.com/atlassian/react-beautiful-dnd) for inspiration
## License
MIT.
## Supporters
The following companies support our open source projects, and ShakaCode uses their products!