Components / effect

Melt Preloader

v1.0.2 · premium

A page preloader where ink bubbles up like a lava lamp and floods the screen under a rolling counter, then the whole sheet melts away in drips.

Melt Preloader demo

Implementation

A page preloader where ink bubbles up like a lava lamp and floods the screen under a rolling counter, then the whole sheet melts away in drips.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.2 · published

Source code

Download source ZIP
export function MeltPreloader({
  children, label = 'Loading', minDuration = 2600, maxWait = 9000, ready, waitForImages = true,
  contain = false, lockScroll = true, paper, ink, className, onComplete,

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.2 · A page preloader where ink bubbles up like a lava lamp and floods the screen under a rolling counter, then the whole sheet melts away in drips.

Frequently asked questions

How does it know when the page is ready?

It waits for every image already in the document and for web fonts, but never shorter than minDuration. If an asset never arrives it leaves after maxWait. Pass ready={false} to hold it until your own data has loaded.

What do visitors see with reduced motion or without JavaScript?

The preloader does not render and the page is shown straight away. The overlay is removed by CSS for reduced motion and by a noscript rule when JavaScript is unavailable.