Back to blocks
Abstract Mask React component

What is this?

A white full-bleed section whose small rounded card window expands to fill the viewport on scroll, revealing a solid color field and copy inside. Swap the labels, headline, and body, then drop it into an agency or tech landing page.

Full TSX source. No account needed.

abstract-mask.tsx

"use client"; import * as React from "react";import {  attachLayoutEditVirtualProgress,  getScrollParent,  resolveScrollSceneTrackHeight,  shouldUseVirtualScrollProgress,
BlockPass

Abstract Mask

A white full-bleed section whose small rounded card window expands to fill the viewport on scroll, revealing a solid color field and copy inside. Swap the labels, headline, and body, then drop it into an agency or tech landing page.

Checking access…
Live Preview

Verified Technical Spec

Animation
CSS / Tailwind
Reduced motion
Verified
Keyboard focus
Not detected in source
Compatibility
Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible

Included

  • Copy source into Cursor or Claude for agent install
  • Finished React · TypeScript · Tailwind CSS UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS

Version 1.0.0