119

Hover Expand Cursor

A small dot cursor grows into a labeled circle over work

CursorHover & clickUI interactionCSSCustom cursor

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

The system cursor is hidden and a small dot follows the mouse instead (with a slight lag); when the cursor moves over a portfolio thumbnail, the dot smoothly grows into a circle about 3× larger with hint text such as “VIEW” in the middle, and the work itself scales down slightly in response; leaving the work shrinks it back to a dot and fades the text. The grow takes about 0.35 s, ease-out. (How: cursor:none on the container; the custom cursor is position:fixed and follows mousemove with transform; add a class on hover targets so the inner circle scales 0.16→1 and the text opacity 0→1; disable this on touch devices)

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 cursor effects

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

Browse all effects →