Author:
Source
Drag and drop functions are a fun interaction, but they may not be the best interface in every situation. Buttons are a great affordance, and we can hook them up into our existing drag and drop code without any issue. Then we’ll look into animating the movement on the page so that it still feels interactive.
https://onrails.blog/2024/03/18/stimulus-moving-and-animating-todos/
https://onrails.blog/2024/03/18/stimulus-moving-and-animating-todos/