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/Lines Loader

Lines Loader

A restrained line-based loader for short indeterminate waits, route latency, data loading, and lightweight product states.

GSAPLucide-react
DemoDemoDemo

Tune the Real Props

Dark Line Color

Line color on the dark loader layer.

Light Line Color

Line color on the light reveal layer.

Overview

Lines Loader gives a real wait a visible state: lines carry a quiet indeterminate wait.

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 main risk 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 LinesLoader from "@/components/effects/lines-loader";2 3export default function Page() {4  return (5    <>6      <LinesLoader />7    </>8  );9}

Example Production Use Case

An online learning platform can use Lines Loader while a lesson's video player and course materials load. Thin staggered lines sweep across the screen as a quiet activity signal, then clear away when the timed sequence ends and onComplete fires.

The outcome is calm. Learners see that something is happening without a fake percentage, and the loader can be swapped for a skeleton where the wait is very short. Determinate progress must be tied to a real signal.


Best Used For

  • Short indeterminate waits where a quiet activity signal is clearer than fake progress.
  • Product flows where the loader should feel restrained and easy to replace with a skeleton.
  • Lines 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 Lines Loader on a page that already loads quickly.
  • Faking determinate progress.
  • Announcing every animation frame to assistive technology.

Changelog

Add prefers-reduced-motion support: hero text fades in as a single block instead of a per-letter stagger
Initial release

API Reference

PropTypeDefaultDescription
durationnumber1Overall timeline duration multiplier.
lineHeightnumber1Rendered height of each loader line in pixels.
darkLineColorcolor#ffffffLine color on the dark loader layer.
lightLineColorcolor#000000Line color on the light reveal layer.
fadeOutDurationnumber0.5Duration of the line fade-out phases.

Questions, Answered.

When should I use Lines Loader?

Use it when a brief indeterminate wait needs a quiet, restrained line indicator.

Should Lines Loader show real progress?

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

How should Lines 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 Lines Loader?

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

What should reduced motion do for Lines Loader?

The sequence still plays, but the lines and text fade in place with a short stagger instead of travelling and blurring, then the loader completes as normal.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Circle Text Reveal
Pro
Motion

Circle Text Reveal

Text

Card Drift
Pro
GSAP

Card Drift

Components

Rotation Slider
GSAP

Rotation Slider

Scroll

Spider Particles Background
Three.js

Spider Particles Background

Backgrounds

Chess Grid Transition
GSAPnext-transition-router

Chess Grid Transition

Transitions