320

Animated Weather Icons

The sun slowly turns, clouds drift, raindrops fall and lightning flashes

Shape & SVGIdle loopUI interactionApp UINumbers & dataCSSCSS keyframes

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A set of weather icon cards: the sunny sun and its rays rotate slowly; the cloudy clouds drift gently side to side; the rainy raindrops keep falling from under the cloud at staggered times and fade out; the storm's lightning stays dim most of the time and occasionally flashes twice quickly. Each icon is labeled below. (SVG + CSS keyframes: sun rotate 10 s per turn; clouds translateX back and forth; raindrops translateY + opacity with staggered animation-delay; lightning flickers with steps(1) keyframes)

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

  1. Tap “Copy AI prompt”.
  2. 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).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More shape & svg effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →