# @constantindjm/react-beautiful-dnd-grid

> Grid management for react-beautiful-dnd

Latest version **1.0.31** (published 2022-02-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @constantindjm/react-beautiful-dnd-grid
pnpm add @constantindjm/react-beautiful-dnd-grid
yarn add @constantindjm/react-beautiful-dnd-grid
bun add @constantindjm/react-beautiful-dnd-grid
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.31 |
| Published | 2022-02-21 |
| First published | 2022-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 20.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Constantin Djonkam |
| Maintainers | constantindjm |
| Keywords | react, dnd, grid, component |

## Links

- npm: https://www.npmjs.com/package/@constantindjm/react-beautiful-dnd-grid
- Repository: https://github.com/constantindjonkam/react-beautiful-dnd-grid
- Homepage: https://github.com/constantindjonkam/react-beautiful-dnd-grid#readme
- Issues: https://github.com/constantindjonkam/react-beautiful-dnd-grid/issues
- npm.io page: https://npm.io/package/@constantindjm/react-beautiful-dnd-grid

## Dependencies (4)

- [uuid](https://npm.io/package/uuid.md) ^3.3.2
- [react](https://npm.io/package/react.md) ^16.7.0
- [object-hash](https://npm.io/package/object-hash.md) ^1.3.1
- [react-beautiful-dnd](https://npm.io/package/react-beautiful-dnd.md) ^10.0.3

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.31 (latest) — 2022-02-21
- 1.0.30 — 2022-02-21
- 1.0.29 — 2022-02-21
- 1.0.28 — 2022-02-21
- 1.0.27 — 2022-02-21
- 1.0.26 — 2022-02-21
- 1.0.25 — 2022-02-21
- 1.0.24 — 2022-02-21
- 1.0.23 — 2022-02-18
- 1.0.22 — 2022-02-18
- 1.0.21 — 2022-02-18
- 1.0.20 — 2022-02-18
- 1.0.19 — 2022-02-18
- 1.0.18 — 2022-02-18
- 1.0.17 — 2022-02-18
- … 17 more at https://npm.io/package/@constantindjm/react-beautiful-dnd-grid/versions

## README

# react-beautiful-dnd-grid

## Installation

```
npm i @constantindjm/react-beautiful-dnd-grid --save-dev
                          OR
yarn add @constantindjm/react-beautiful-dnd-grid --dev
```

## Demo

https://stackblitz.com/edit/react-beautiful-dnd-grid-demo

![Demo gif](./doc/demo.gif)

## Usage

```javascript
import React, { useState } from "react";
import { DragDropContainer } from "@constantindjm/react-beautiful-dnd-grid";

const noop = function() {};

const items = [{ id: "0" }, { id: "1" }, { id: "2" }, { id: "3" }, { id: "4" }];

const DraggableItem = props => <div>id: {props.item.id}</div>;

const Component = () => {
  const [disableDrag, setDisableDrag] = useState(false);

  return (
    <DragDropContainer
      items={items}
      direction="horizontal"
      maxItems={3}
      render={item => <DraggableItem item={item} />}
      onDragEnd={noop}
      gap={10}
      isDragDisabled={disableDrag}
      containerStyles={{ minWidth: 300 }}
    />
  );
};
```

---
_Source: https://npm.io/package/@constantindjm/react-beautiful-dnd-grid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
