Add

Lorem ipsum

Lorem ipsum

A
A
A
Design

1 views

4 min

Make an element draggable on your website

Explainer video

StepAction
1Add a CSS class to the element you want to make draggable
2Load jQuery UI in the
3Initialize .draggable() on your class
BonusAdd a scale animation on hover

The Gemeos Webflow agency provides a video to show you how to do it in under 5 minutes.

1. Add a class to the elements you want to make draggable

2. Add this script in the </body> section in your page settings

 < script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js">
 < script>
$(function() {
$(".yourclass").draggable({
});
});

Make sure to replace "yourclass" in the script with your own class

3. Publish your site and test the result

good to know

jQuery UI Draggable is stable, but it’s no longer actively developed. For modern use in 2026, interact.js is a lightweight alternative with no jQuery dependency. For drag & drop lists, Sortable.js is the recommended option.

4. Bonus: add a hover animation for a better experience

  1. Select the element you want to add the interaction to in the design view.
  2. In the Interactions panel, click "Add an interaction" to create a new interaction.
  3. Select "Hover" from the interaction trigger list.
  4. In the "Actions" section, click "Add an action" to create a new action.
  5. Select "Scale" from the list of available actions.
  6. Enter "1.05" in the scale value input to increase the element size by 5%.
  7. Click "Add an action" in the Hover out section and duplicate your previous action
  8. Reset the default settings (scale = 1)
  9. Save the changes by clicking "Apply"

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 10.04.2025

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...