Drag and drop / sortable
under review
Filipe Pfluck
a component that allows dragging and dropping.
Here are a couple of examples using dndkit:
dndkit is super complete, but it is probably too low-level for most users, so primitives with this functionality would be awesome!
Christian Schröter
under review
Erik Müller
I would rather use a framework-agnostic library like https://www.npmjs.com/package/@atlaskit/pragmatic-drag-and-drop for this.
Filipe Pfluck
Erik Müller: makes sense, since ark-ui is framework agnostic. I've sent dnd-kit just as an example, the actual implementation can be done with other tools such as the one you've sent
Júlio Mühlbauer
Erik Müller I found that it is a lot of boilerplate just to set it up: https://github.com/alexreardon/pdnd-react-tailwind/blob/main/src/list.tsx
Filipe Pfluck
I am studying dndkit recently, and I'm more than willing to help building this component if you guys need any help!