About Beneath Reveal
Beneath Reveal is a code component for designers who want the cursor to reveal the page instead of decorating it. One layer follows the pointer, opens a window, and shows the same page inverted and tinted, with a crisp rim. The window swells with speed, trails the hand, and breaks into droplets.
Over a link or a button it settles in one style: a pill around the target, a hairline under it, an outline, or nothing. A press splashes. Holding the press opens the window wider. On a phone, a tap splashes and dragging still scrolls. With reduced motion, a still window stays under the pointer.
Drop one instance on the page. The layer draws nothing on the canvas and nothing on the published site until someone moves the pointer, and it does not take clicks. Park it where its box will not cover the layout. A second instance on the same page stays idle.
You can set:
Window size, tint, and a quiet texture: none, grain, paper, or wash
Rim color and width
Trail, smear, flow, speed, and how long a pause keeps the window open
One lens style for links and buttons, its color, and a maximum target size
Splash, and a tap splash on touch
Over images and video, the window can keep only its rim. A layer marked data-beneath-media can show a label inside the window
Requirements and limitations:
One drawing instance per page. Two would stack two inversions.
The canvas frame is empty. Open Preview to see the window.
The trail follows a fine pointer. Touch does not drag-paint.
Reduced motion drops the trail and the droplets.
No external account, font, or asset is required.




