Loading effect…
Loading preview…
intros · react · free
A preloader that scales a stack of photos in from the top-left corner, pulses them across to the bottom-right, and slides its backdrop away to reveal the page.
npx znverse add image-stack-preloaderInstalls gsap, @gsap/react.
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&display=swap");
.image-stack-preloader {
--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
A preloader that scales a stack of photos in from the top-left corner, pulses them across to the bottom-right, and slides its backdrop away to reveal the page.
Copy src/ into a React project and render <ImageStackPreloader />.
Originally published at https://github.com/Hank-D-Tank/next-timeline-scale.