Skip to content

Mask Reveal

Pro

A circle, an arch, a burst, or giant text that opens like a window as the page scrolls, until the picture behind fills the view.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 10, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Mask Reveal needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
26
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Put the photo, the window, and the heading in the root.

The sample also uses Image. One command adds them with this item:

brand-hero.tsx

MaskReveal

<div>
PropTypeDefaultDescription
containerRefObject<HTMLElement | null>—The scroll box, when the item scrolls inside one and not with the page.
disabledbooleanfalseRests every layer and stops the work.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MaskRevealMedia

<div>
PropTypeDefaultDescription
zoomnumber0.15How much larger the picture is at the start: 0.15 is 15%. It settles to 1. Default 0.15.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MaskRevealWindow

<div>
PropTypeDefaultDescription
variant"arch""burst""circle""text""circle"The window: circle (default), arch, burst, or text (the text of the children).
growthnumber—How many times larger the window is at the end of the growth. Default per variant: circle 10, arch 14, burst 13, text 60.
originreadonly [number, number]—The point the window grows from, as shares of its box ([0.5, 0.5] is the middle). For a text, put it on a thick letter stroke, not in a gap or a letter hole. Not mirrored in right to left: it is a place on the outline.
outlinedbooleanfalseDraws a thin line on the window edge at the start; it fades out as the window grows.
childrenstring—With variant="text": the text of the window (the brand name). Plain text only.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

MaskRevealContent

<div>
PropTypeDefaultDescription
children—
fadebooleantrueFades the content out over the first 25% of the pin. Default true.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Put an Image with fill (or a video) in MaskRevealMedia, and the window in MaskRevealWindow.
  • Pick the window with variant: circle, arch, burst, or text (the text of its children).
  • For a text window, set origin on a thick letter stroke, so the stroke fills the view.
  • Put the real heading in MaskRevealContent: the window is decoration.
  • In a scroll box, pass container and give the box [container-type:size].
  • For a photo that only moves slower than the page, use Parallax Image.
  • For layers that move at their own speeds, use Parallax.
TabMoves into the content. When the content has faded, the page jumps back to the start of the pin.

The window is hidden from screen readers. Give the real name as a heading in MaskRevealContent.

The photo keeps its alt.

Window
none · the window grows with the scroll in the same frame, one ratio per frame, with no easing
Content
none · the content fades out over the first 25% of the pin

Built with

Installs with Mask Reveal

Components
Parallax
  1. AddedMask Reveal, with Parallax.
Open the release