Masking
Masking with a mouse-sensitive spotlight effect that highlights the border of the div or section as you move your cursor
Masking with a mouse-sensitive spotlight effect that highlights the border of the div or section as you move your cursor
Follow these simple steps to add the Masking component to your project:
Install Dependencies
pnpm add motion
Create a new file: masking.tsx
and copy the code below:
Adjust the import paths in both files according to your project's structure.