Pull to Refresh
Pull the list down, a spinner appears, release to load and spring back
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
On a mobile list page, pulling down from the top moves the list with the finger (with increasing resistance), revealing a round loading icon above whose rotation increases with the pull distance; on release the icon keeps spinning while loading, then the list springs smoothly back to the top and the newest item briefly highlights before fading back. (GSAP: get the pull distance with Draggable or Observer and multiply by a damping factor; on release a timeline: spinner rotation → list y back to 0 (power3.out) → new item's background fades)
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 layout & page effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →