SVG & Shape

SVG Mask Reveal

Also called SVG Mask Effect, Clip-path Reveal, Spotlight Mask

A masked shape wipes or follows the pointer to uncover content beneath.

Image and content reveals

  • circle follows cursor
  • clip-path inset wipe
  • SVG clipPath animation

View demo source

Prompt

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.

Add an "SVG Mask Reveal" hover effect (also called a clip-path reveal or spotlight mask) to [where].
While the pointer is over it, a circular mask should grow from the center and uncover the content underneath, then close again when the pointer leaves: smooth and fairly quick.
Keep both layers exactly the same size so nothing shifts, and show the same reveal on keyboard focus and tap.

Replace [where] with the part of your page and paste the prompt into your AI agent. Each prompt includes the name of the motion, so next time you can simply ask for it by name.