Add

Lorem ipsum

Lorem ipsum

A
A
A
Design

0 views

3 min

How to make elements draggable with drag and drop in Webflow

Learn how to make elements draggable in Webflow with jQuery UI.

In this tutorial, Sandro, co-founder of Gemeos Webflow agency, shows you how to make elements draggable with drag and drop in Webflow using jQuery UI.

Example

Move me!
Drag the element inside the area
StepWhereAction
1Page Settings > HeadLoad jQuery UI from cdnjs
2Webflow DesignerAdd the draggable-element class
3Footer codeInitialize .draggable()

1. Load jQuery UI in the head

In Page Settings > Custom Code > Head, add:

2. Add the class to your element

In the Webflow Designer, add the draggable-element class to the element you want to make draggable.

3. Initialize it in Footer code

$(function() {
$('.drag').draggable({
});
});

good to know

The library is heavy (~250 KB), so load it only on the pages where you use .draggable(), via the Page Settings for each relevant page.

Conclusion

Two lines of code for native, robust drag and drop. See also: make an element draggable in Webflow.

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...