Dev Design Library

Spotlight Mask Reveal

A spotlight mask reveal — the image stays dark except for a soft circle that follows your cursor like a flashlight; click to flood the whole frame with light (and click again to dim back to the spotlight).

Spotlight Mask Reveal preview
Library
Pixel Perfect
Framework
React
Type
block
License
MIT
Dependencies
gsap
Files
  • registry/new-york/mask/spotlight-mask-reveal.tsx
Source
https://github.com/vansh-nagar/Pixel-Perfect

Categories

More from Pixel Perfect