254

Contextual Cursor

Over different content the cursor becomes a big labeled circle for that action, like Play, View or Drag

CursorHover & clickUI interactionHeadline & heroCSSJS + CSS

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A portfolio card area where the cursor is normally a small dot; over different types of content it springs up into a large solid circle with a matching icon in the middle and an action label floating below, e.g. “▶ Play” on videos, “↗ View” on work, “⇆ Drag” on carousels; leaving the content shrinks it back to a dot. (JS: each block sets its text and icon with a data-cursor attribute, mousemove detects the current block and updates the cursor; CSS: the big circle scales 0 → 1 with cubic-bezier(.3,1.5,.5,1), the label fades in moving up)

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 →