top of page

Creating custom preloaders

Learn how to build an animated preloader that disappears once your page has loaded using stacked images, timed Entrance animations and a small amount of code. Follow along to design the loading screen, sequence your fades, then slide it away to reveal your page with a smooth, polished transition.

Keep site visitors engaged by turning loading time into a branded experience with a custom preloader that feels modern and intentional.


In this Studio Byte episode, you'll learn how to stack a series of vertical and horizontal images and time quick Entrance animations so they fade in one by one. Then, add a short code snippet using Wix Animations to slide the preloader up and off‑screen once the page has loaded, revealing your homepage content beneath.


The result is a custom preloader that gives site visitors a cohesive, more cinematic first impression.


Here's the code you need:

import { timeline } from "wix-animations-frontend";


const explore = timeline().add($w('#box2'), {
       duration: 500,
       easing: "easeInQuad",
       y: -900,
       delay: 1600
   })


$w.onReady(function () {
   explore.play()
})

EXPLORE MORE CONTENT

Bring text to life with Hover animations

TUTORIAL

Bring text to life with Hover animations

Building infinite testimonial marquee

TUTORIAL

Building infinite testimonial marquee

Build an interactive gradient section

TUTORIAL

Build an interactive gradient section

What do you think about the tutorial?

More creation-fueling resources

Find the answers you’re looking for.

Join the conversation, get updates and community support. 

Join us on Discord to connect and grow with fellow creators.

Collab with other web design and dev pros.

Get in touch with the Studio team. We're here to help.

New skills, new boundaries to break. 

Start creating

bottom of page