Drag gesture

Also called draggable element or drag interaction

Moving an element by pressing on it and sliding the pointer or finger, usually within set bounds and with a glide after release.

What is Drag gesture?

A drag gesture lets people pick up an element and move it directly: press, move, release. A good drag follows the pointer exactly while held, stays inside sensible bounds, and stretches a little when pulled past an edge, so the limit feels soft.

On release, momentum carries the element in the direction it was thrown and slows it down gradually, like sliding a card across a table. Turn momentum off for things that should stay exactly where they are dropped, such as a sticky note on a board.

Drags power sliders, bottom sheets, carousels, maps, and canvas editors. Add touch-action: none to the draggable element so a touch drag moves it instead of scrolling the page, and offer a keyboard or button alternative for anything important.

Often confused with

Drag and drop
Drag and drop moves an item onto a target to do something, like dropping a file into a folder. A drag gesture is the movement itself, with or without a target.
All terms

Momentum

The glide an element keeps after a throw or flick, slowing down gradually like an object sliding across a smooth table.

Rubber-banding

An edge effect where content dragged past its limit moves less than your finger, then springs back on release, like a stretched rubber band.

Swipe to dismiss

A gesture where you drag an item sideways past a threshold to remove it, while a shorter swipe lets it spring back into place.

Drag to reorder

A list you can rearrange by dragging an item to a new spot while the other items slide aside to make room.