---
title: "Discussion on \"Making Draggable Components in React\" | Hashnode"
description: "Discussion on \"Making Draggable Components in React\". As user interactivity becomes more prevalent in modern apps, it is sometimes nice to have draggable components implemented in your apps. Think of Trello or website builders like Wix. They have drag-and-drop elements which makes it easy and intuitive ..."
url: "https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Making Draggable Components in React](https://blog.lo-victoria.com/making-draggable-components-in-react?utm_source=hashnode&utm_medium=feed)

As user interactivity becomes more prevalent in modern apps, it is sometimes nice to have draggable components implemented in your apps. Think of Trello or website builders like Wix. They have drag-and-drop elements which makes it easy and intuitive ...

Sep 8, 2020 · 5 min read · blog.lo-victoria.com  
Updated Mar 19, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Victoria Lo](https://hashnode.com/@victoria)

@victoria · Singapore

  
[View profile](https://hashnode.com/@victoria)

A nerd in books, tea, games and software.

I'm a solutions engineer lead, GitHub Star, Director of WomenDevsSG, and co founder of ragTech. I work at the intersection of tech, systems, and leadership, and this blog is where I share my journey through all three. Expect honest reflections, real experiences, and thoughts that are still forming rather than polished career advice.

## Responses 12

Markdown supported · ⌘↵ to post

[Saista Chhipa](https://hashnode.com/@csaista)

[Dec 15, 2021](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/61b97c72d2a5c9036e6f1beb)

Hi, i love this , i just want to know how can i do drag and drop with other element ? like when I move 1 div another div will adjust itself or take the space of previous.

[Savio Martin](https://hashnode.com/@saviomartin)

[Jul 4, 2021](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/60e17d7f03707d644a5022ff)

Thank you for the amazing article [Victoria Lo](https://hashnode.com/@victoria), loving this. This will help me a lot for my next side project 🥳

[Victoria Lo](https://hashnode.com/@victoria)

[Jul 5, 2021](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/60e17d7f03707d644a5022ff#reply-60e261d503707d644a503de1)

Thanks Savio! I'm glad it's helpful!

[Mohammad Amin Azimi](https://hashnode.com/@ma2web)

[Jan 16, 2021](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/6002e12a848f4c3b9a0ef1c7)

I try to customize it with my project, hope be useful

[Manas Garg](https://hashnode.com/@Mg_Garg)

[Sep 27, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f70d12ceb14b172f1d4b579)

How did you created the bulletin board application? is there any tutorial of yours on it? thanks in advance

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 27, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f70d12ceb14b172f1d4b579#reply-5f70dbfa1c510d72d0749e2d)

Hi [Manas Garg](https://hashnode.com/@Mg_Garg), I just created it to showcase draggable components, if you'd like a tutorial on it, I'll be happy to write one :)

[Manas Garg](https://hashnode.com/@Mg_Garg)

[Oct 15, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f70d12ceb14b172f1d4b579#reply-5f887ca7d7dc0b17a97a1436)

Hey [Victoria Lo](https://hashnode.com/@victoria) I would love to, if you can make it possible and is it fine if we can get connected on LinkedIn?

[Victoria Lo](https://hashnode.com/@victoria)

[Oct 16, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f70d12ceb14b172f1d4b579#reply-5f89b7f5d7dc0b17a97a2240)

[Manas Garg](https://hashnode.com/@Mg_Garg) Sure, you can connect with me [linkedin.com/in/victoria2666](https://www.linkedin.com/in/victoria2666/)

[Shamaayil Ahmed](https://hashnode.com/@shamaayil)

[Sep 9, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f58a126af95c4313b6029cc)

How to you create a gif and embed.

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 9, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f58a126af95c4313b6029cc#reply-5f58f10d7ac9f835ff9bc199)

I screen recorded, export it as mp4 and convert it to gif using this tool ([ezgif.com/video-to-gif](https://ezgif.com/video-to-gif)) and embed it on Hashnode:

`![myGIF](myGif.gif)`

[LookRain](https://hashnode.com/@lookrain)

[Sep 16, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f58a126af95c4313b6029cc#reply-5f618279dc74720d9b85e675)

you can probably checkout Giphy Capture, pretty handy! [Victoria Lo](https://hashnode.com/@victoria)

[Subha Chanda](https://hashnode.com/@nemo)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f57a38fedbc0327d34afc03)

Nice one! Simple to follow... 😀

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f57a38fedbc0327d34afc03#reply-5f57c5deedbc0327d34afda5)

Yayy thanks!

[Shammah Nei](https://hashnode.com/@Shammahk)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f576b3aedbc0327d34af788)

Very intuitive write-up. Def gonna use it in a project I'm working on. It really helps the user. Thanks

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f576b3aedbc0327d34af788#reply-5f578d51a5765727f4c323d0)

Thanks glad its helpful :)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f571d42eff57d22a439daf3)

Very cool, And looks way easier then I would have thought

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f571d42eff57d22a439daf3#reply-5f578d6bedbc0327d34afa71)

Haha yes, it's very easy and intuitive to use :)

[Rahul Sharma](https://hashnode.com/@holdmypotion)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f570dbe8239a922c5aecf3a)

I was about to skip this article, thinking it would be for beginners to learn react using some easy draggable component interface but woah!! Glad I stumbled over it. Very informative and nicely written.

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f570dbe8239a922c5aecf3a#reply-5f578d85edbc0327d34afa75)

Thanks! I hope to see you use it in your projects :)

[Rahul](https://hashnode.com/@RAHULISM)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56fbf2eff57d22a439da21)

Amazing Post.

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56fbf2eff57d22a439da21#reply-5f578d8ca5765727f4c323e1)

Thanks Rahul!

[Skay](https://hashnode.com/@skay)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56fad78239a922c5aecee1)

Love this post!! Thanks for sharing :-)

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56fad78239a922c5aecee1#reply-5f578d96a5765727f4c323e5)

No problem Skay! Thanks for reading :)

[Bolaji Ayodeji](https://hashnode.com/@bolajiayodeji)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56f7898239a922c5aece90)

Love this one, thanks for sharing!

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 8, 2020](https://hashnode.com/posts/making-draggable-components-in-react/5f56e9f38239a922c5aecdf4/comment/5f56f7898239a922c5aece90#reply-5f578da5a5765727f4c323e9)

Thanks for reading Bolaji :)
