Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/Stack Loader

Stack Loader

A stacked-panel loader that covers real route, asset, upload, or WebGL waits with a timed branded intro that fires onComplete when it finishes.

GSAP
DemoDemoDemo

Tune the Real Props

Background Color

Loader background color.

Overview

Stack Loader gives a real wait a visible state: panels stack during a real transition.

Use it for route latency, upload progress, asset warm-up, data loading, or WebGL initialization. Do not add a fake preloader to a fast page just to make it feel designed.

The thing to watch is dishonesty. Bind the loader to real state, use aria-busy where the region is updating, and never let a progress number claim completion before the content is ready.


Usage Code

page
1import StackLoader from "@/components/effects/stack-loader";2 3export default function Page() {4  return <StackLoader />;5}

Example Production Use Case

A fashion ecommerce brand can use Stack Loader as the entry to a new-season lookbook while its campaign imagery preloads. Images arrive as a stack, then spread apart as the season title animates in word by word.

The outcome is anticipation without delay. The loader plays a fixed-length intro over the preload, then hides itself and fires onComplete, so keep its duration in line with the real wait rather than holding a fast page back for show. Determinate progress must be tied to a real signal.


Best Used For

  • Route and asset waits where a short branded cover is honest and state-driven.
  • Short intros where a fixed-length loader sequence fits, with onComplete handing off to the page.
  • Stack Loader makes real waiting visible without manufacturing delay.

Not For

Not for fast pages, fake progress, manufactured waits, or loaders that hide usable content.


Performance Budget

Tie animation to real load state, clean up timers, and avoid blocking first paint.


Accessibility and Mobile

Use aria-busy on loading regions and concise status text. On mobile and reduced motion, prefer static progress text or skeletons.


Common Mistakes

  • Using Stack Loader on a page that already loads quickly.
  • Faking determinate progress.
  • Announcing every animation frame to assistive technology.

Changelog

Add prefers-reduced-motion support
Initial release

API Reference

PropTypeDefaultDescription
imageSizenumber1Scale multiplier for the loader image stack.
durationnumber1Global duration multiplier for the loader animation.
fadeOutDurationnumber0.8Duration of the final image and loader fade-out.
backgroundColorstring#fcfcfcLoader background color.

Questions, Answered.

When should I use Stack Loader?

Use it when a real route or asset wait needs a short branded cover of stacking panels.

Should Stack Loader show real progress?

Determinate loaders should always map to real progress. Fake progress damages trust.

How should Stack Loader be announced?

Use aria-busy on the loading region and concise status text in a polite live region when useful.

When is a skeleton better than Stack Loader?

Use skeletons when the layout is known and content streams into place.

What should reduced motion do for Stack Loader?

With reduced motion, Stack Loader skips the slide, spread, and 3D text turns. The images appear already spread and fade in with a stagger, the text fades in and out, and the loader fades away on the same timed sequence before firing onComplete.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Lines Loader
Pro
GSAPLucide-react

Lines Loader

Loaders

Numeric Tunnel Loader
GSAP @react-three/fiber@react-three/drei

Numeric Tunnel Loader

Loaders

Animated Toggle
Pro
CSS

Animated Toggle

Buttons