Reveal Hover Effect Core Contract Prepare two images with identical dimensions, composition, crop, and focal point. Keep the base image fully visible. Stack the reveal image directly above it. Apply a feathered radial mask-image to the reveal image. Track pointer coordinates in the component's local coordinate space. Ease the rendered position toward the raw pointer with requestAnimationFrame . Collapse the mask on pointer exit; never leave a stale spotlight behind. Default to CSS masks instead of generating a canvas data URL every frame. The CSS version preserves the same look with less allocation and simpler cleanup. Motion Defaults Show more Installs 1.7K Repository mengto/skills GitHub Stars 7.4K First Seen Jul 18, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass
reveal-hover-effect
安装
npx skills add https://github.com/mengto/skills --skill reveal-hover-effect