Dev Design Library

Rect Mask Reveal

A rectangular mask reveal — the image stays fixed while a clip-path inset rectangle grows from the center, keeping the video aspect ratio, to uncover the whole frame.

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

Categories

More from Pixel Perfect