Drag to Reorder
Drag a row up or down and the others make way; it springs into place and numbers update
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
A sortable list with a drag handle on the left of each row and its order number on the right: pressing a row lifts it slightly larger (deeper shadow and border) so it can be dragged up or down; as it passes other rows, they smoothly move up or down to make room; on release the dragged row drops into its new place with a little spring and all numbers update to the new order. (GSAP Draggable type:"y": while dragging compute the target index from y ÷ row height, reorder the array and tween the other rows to index × row height; snap with back.out on release)
When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.
How to use it
- Tap “Copy AI prompt”.
- Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More card & group effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →