Search code examples
reactjsdrag-and-dropwidgetreact-admin

Recommend a drag and drop library for a react-admin dashboard?


We have a dashboard that displays stats similar to the Posters Galore react-admin demo (https://marmelab.com/react-admin-demo/#/).

We'd like to find a way to allow the user to drag the widgets into a custom configuration.

Any thoughts on react libraries for drag and drop that would work well for this?

Thanks


Solution

  • After a little more research I've decided to try React-Grid-Layout.

    https://github.com/react-grid-layout/react-grid-layout

    It has the features I was looking for out of the box. Seems to use react-draggable and react-resizable under the hood.

    I may still look at react-dnd if I can find some examples of people using it to build draggable boxes that snap in a grid pattern.