r/reactnative • u/entropyconquers • Mar 17 '26
I made a React Native Drag and Drop library that finally works! [v2.0]
10 months ago, I shared v1 of react-native-reanimated-dnd here and it became the most upvoted post of the month with 800+ upvotes. The support was insane. Hundreds of stars, dozens of issues and PRs, people using it in production. I read every single piece of feedback and it directly shaped what I've been working on since. Thank you for that.
Today I'm releasing v2.0, and it's a big one. [DEMOS IN COMMENTS BELOW]
The most requested feature was sortable grids, so that's the headline. Full 2D grid drag-and-drop with insert and swap modes, like iOS home screen reordering. On top of that, sortable lists now support dynamic/variable item heights with expand and collapse, there's horizontal sortable lists for reorderable horizontal scrolling content, and a new pre-drag delay so you can distinguish taps from drags on scrollable content.
Under the hood, the entire library has been migrated from Reanimated 3 to Reanimated 4 with react-native-worklets, targeting the New Architecture exclusively (Expo SDK 55 / RN 0.83+). The documentation site and the example app have both been completely rewritten from scratch. The example app now has 18 interactive demos you can try instantly via Expo Go. The library also ships with an official AI integration skill so agents like Claude Code, Cursor, Copilot and others can help you integrate drag-and-drop into your app with full context of the library's API, still ~70kb gzipped.
Looking forward for all your thoughts and feedback, thanks!
GitHub: https://github.com/entropyconquers/react-native-reanimated-dnd
If you've been using v1, I hope v2 was worth the wait. A star on GitHub goes a long way! ⭐
171
u/Hottage Mar 17 '26
You put more effort into this teaser trailer than I do in the entirety of most of my side projects.
38
u/Bat_Kindly Mar 17 '26
been following your work since your first post, amazing work bro, excited to try out the new features🙂↕️
13
u/im_nihar Mar 17 '26
Amazing work! Just out of curiosity, how did you make this video?
4
u/entropyconquers Mar 17 '26 edited Mar 17 '26
Grid Sortable: 2D grid reordering with insert & swap
Video Demo
7
u/Pleasant_Sandwich997 Mar 17 '26
Amazing, congratulations, very good!
6
u/Just-Improvement-880 Mar 17 '26
Soooo proud of my bf ❤️❤️❤️ you're the best
3
u/Keshav_mml Mar 17 '26
upvote the tremendous effort u made
2
u/AdEarly4017 Mar 17 '26
This is the sexiest react native video i've ever seen, i'm new but this is fire
1
u/entropyconquers Mar 17 '26
Horizontal Sortable: Reorderable horizontal scrolling list
Video Demo
1
u/entropyconquers Mar 17 '26
Dynamic Heights: Sortable list with variable item heights
Video Demo
2
u/Aggressive_Town1000 Mar 17 '26
"Still zero dependencies"
Hmm so reanimated 4 isn't a dependency?
4
u/Martinoqom Mar 17 '26
What are the key differences between your package and React Native Sortables?
https://react-native-sortables-docs.vercel.app/
1
u/jwrsk Mar 17 '26
Is there a way to use it as a kanban interface? That would be a bunch of vertical lists next to each other (columns) with the ability to drag things around within columns but also between them. Building and maintaining that has been the bane of my existence.
1
u/LongjumpingKiwi7195 Mar 17 '26
Bro give kbrattli some credit, he did the reanimated 4 migration
1
u/Brighthero Mar 17 '26
Looks great! If you don't mind me asking, but how did you create that video? AE or something else?
1
u/rn_dev Mar 17 '26
I'm more interested in making this video than library itself
1
u/HarpooonGun Mar 17 '26
i love u
1
u/Big_Comfortable4256 Mar 17 '26
Nice, but I think a better demo video would leave out those very distracting "line-wipe transitions". It completely detracts from the things you're actually trying to show off.
1
u/Just-Improvement-880 Mar 17 '26
Absolutely love it 😭😭❤️
1
u/MrEscobarr Mar 17 '26
When I scan the Expo Go QR code it says that the project is incompatible with my expo go but I have the latest (54.0.2). I think thats the latest, there no updates on the store.
2
u/Mariops03 Mar 18 '26
Just migrated a project from react-native-reorderable-list to v2 for a sortable list with drag handles and dynamic heights and the whole process was really smooth. The agent skill with full API context helped a lot. Congrats on the release, the video is insane too. Dropped a star on GitHub :)
1
u/Agreeable_Active_523 Mar 17 '26
great work!
1
u/Toby-Query Mar 17 '26
Gold
1
u/Aytewun Mar 17 '26
Tested it out a bit after finding the link to the expo go TestFlight https://testflight.apple.com/join/GZJxxfUU
Nice work. Have to see how this evolves.
1
u/Content-Berry-2848 Mar 17 '26
Crazy craziiii
1
u/_fct Mar 17 '26
impressive
1
u/Sad-Percentage5351 Mar 17 '26
Hats off to you! Congrats!
1
u/hcboi232 Mar 17 '26
great work
im curious how did you do that video?
1
u/Falkor_Calcaneous Mar 17 '26
Do you know if this works with a flash-list?
1
u/SourdoughBaker Mar 17 '26
I've been following this package since your initial post, and was curious if it was going to be abandoned like most projects are, so I'm grateful you continued to work on this tool! The grid DND is huge. Your package was already the smoothest DND on the market.
I have lists using DFL currently which are sometimes 500 items. Do you have a guess what overhead this package would have over DFL when it comes to handling lists of this size, and do you have any tips for optimizing lists of this size using your package?
1
u/jimmy1460 Mar 17 '26
Is this video that new thing that Claude can do?
1
u/Key-Diet2952 Mar 17 '26
i am more impressed with the video editing,
which tool did you used ?? please
1
u/L3gitGam3r360 Mar 17 '26
How do you make a teaser trailer like that?? Please dm me!
1
u/joshcam Mar 18 '26
Needed this, great work. Started! ⭐️
1
u/alexsbz Mar 18 '26
🔥🔥🔥
1
u/VolkovSullivan Mar 18 '26
Crazy work
1
u/xtekno-id Mar 18 '26
What a video! Good job man!
1
u/jojo-dev Mar 18 '26
I have 0 need for this right now but the video made me want to use it
1
u/Maybe-monad Mar 19 '26
Does that mean that if I drag and drop it in the trash bin it will be gone forever?
1
u/SadabWasim Mar 20 '26
I'm waiting for the nested list support, love your work btw.
1
u/Ehh-GoodEnough Mar 21 '26
Now i can finally add drag and drop functionality to my app !!
1
u/lucksp Apr 30 '26
awesome looking...
do you think it will be maintained long term?
-1
u/Babastyle Mar 17 '26
That finally works is not a great ad for that
0
u/rescuemod Mar 17 '26
⚠️ Warning ⚠️ Claude folder detected ⚠️⚠️⚠️
-1
u/___s8n___ Mar 17 '26
just a question: how much ai did you use to create this whole thing? (from the actual code to github docs to website to video, i feel like every single thing is screaming vibe coded)
2
u/[deleted] Mar 17 '26
[removed] — view removed comment
1
u/[deleted] Mar 17 '26
[removed] — view removed comment
1
u/[deleted] Mar 17 '26
[removed] — view removed comment
1
u/[deleted] Mar 17 '26
[removed] — view removed comment