Components / effect
Slit Window Preloader
A caption and a hairline progress line on a plain sheet. The sheet then splits into a thin slit, widens into a window onto your page, and opens to full bleed.

Implementation
A caption and a hairline progress line on a plain sheet. The sheet then splits into a thin slit, widens into a window onto your page, and opens to full bleed.
- Framework
- React 19.3.1 with TypeScript
- Motion
- Native CSS and browser APIs. No GSAP required.
- Available modes
- build
- Version
- 1.0.0 · published
Source code
Quality evidence
Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .
Changelog
v1.0.0 · A caption and a hairline progress line on a plain sheet. The sheet then splits into a thin slit, widens into a window onto your page, and opens to full bleed.
Frequently asked questions
What does the window show?
Your real page. The four panels move apart to leave a gap, so whatever sits in the middle of your hero is what visitors see first. Place the strongest part of the image or layout there.
How does the hairline relate to loading?
It is the progress value. It fills toward 90% over minDuration, holds there until every image already in the document and the web fonts have loaded, then completes and starts the slit. If an asset never arrives it finishes after maxWait.