Page Refresh Intro Animation with Six WebGL and GSAP Entrances
Overview
A full-screen entrance for React and Next.js that plays every time the page loads, and a different one each time: halftone dots, an ink bleed, colour shutters, a pixel storm, a slot machine or a ripple, each with its own moment for your brand before it reveals the page.
Each load rolls one of six intros, never the same one twice in a row (the last one is remembered in localStorage). Halftone: two ink plates of your name slide in misregistered and thump into register, then the cover breaks into halftone dots that shrink away from the middle. Ink: a giant counter rolls up over a filling bar and the ink recedes along a noisy edge with a hot rim. Shutters: the letters rise over colour shutters that drop away from the centre out. Pixels: the name decodes out of glyphs while a block bar fills, glitches, and the cover breaks into flashing pixels. Slot: every letter is a reel that spins and lands in turn, then the screen splits open. Ripple: a ring draws itself around the name and the page ripples in from the centre.
Details
- Category
- Preloader
- Interaction
- On Load
- Trigger
- On Load
- Languages
- React, TypeScript, plain CSS
(01)Keep exploring
All 150 componentsBuilt with the same techniques
No. 020 / Preloader
GSAP Column Preloader & Blooming Lily Hero Section
On Load · On Scroll · Mouse Move · On Hover
No. 137 / Preloader
GSAP Jewellery Preloader with Orbiting Text Rings and Iris Reveal
On Load · Mouse Move
No. 027 / Preloader
GSAP Image Stack Counter Preloader
On Load · On Click
(02)FAQ
Page Refresh Intro Animation with Six WebGL and GSAP Entrances — FAQ
01How do I use it?
Render <RefreshIntro brand="YOUR NAME" /> once at the top of your page or layout. It covers the screen on load, plays, and unmounts. Pass onDone to start your own page animations after it.
02Can I always play the same one?
Yes: intro="ripple" (or halftone, ink, shutters, pixels, slot). Leave it out to roll a different one on every load.
03Can I change the colours?
Pass colors with any of paper, ink, pink, blue, yellow and green. Fonts come in as --ri-display (a grotesk with a width axis, used expanded and black) and --ri-mono.
04What happens with reduced motion?
The cover just fades away after a moment, with no movement.