Cursor Spotlight Reveal Effect
Adds a smooth hover spotlight that reveals a second image under the cursor, with touch and accessible fallbacks.
Claude's review
7/10 Complete accessible cursor spotlight reveal: CSS masks, eased rAF loop that idles, cleanup, touch and reduced motion fallbacks, quick checks.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an eased pointer.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: reveal-hover-effect
description: Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an eased pointer.
---
# Reveal Hover Effect
## Core Contract
1. Prepare two images with identical dimensions, composition, crop, and focal point.
2. Keep the base image fully visible.
3. Stack the reveal image directly above it.
4. Apply a feathered radial `mask-image` to the reveal image.
5. Track pointer coordinates in the component's local coordinate space.
6. Ease the rendered position toward the raw pointer with `requestAnimationFrame`.
7. 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
- Desktop spotlight radius: `260px`.
- Compact spotlight radius: `140px` to `220px`.
- Pointer easing: `0.1`.
- Radius easing: `0.14`.
- Mask stops:
- `0%`: alpha `1`
- `40%`: alpha `1`
- `60%`: alpha `0.75`
- `75%`: alpha `0.4`
- `88%`: alpha `0.12`
- `100%`: alpha `0`
- Initial state: base image only.
- Exit state: radius eases back to `0`.
- Cursor: keep the native cursor unless the design explicitly needs a custom one.
## Markup
Use real images so loading, intrinsic sizing, and accessibility remain predictable.
...From MengTo's repository, MIT licence.
Related skills
-
Checked
ComfyUI custom node UI
Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.
7/101 credit -
Checked
Scrolling menu upgrade
Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.
7/101 credit -
Checked
Scroll Menu Testing and SSR
Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.
7/101 credit -
Checked
Next.js 16 App Builder
Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.
7/101 credit -
Checked
TinyBase Local First Apps
Builds offline friendly apps on a TinyBase store, saving locally or to a database and syncing across devices.
7/101 credit -
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
8/101 credit