
Circle Text Reveal
Text
A restrained line-based loader for short indeterminate waits, route latency, data loading, and lightweight product states.
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.
import LinesLoader from "@/components/effects/lines-loader"; export default function Page() { return ( <> <LinesLoader /> </> );}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.
Not for fast pages, fake progress, manufactured waits, or loaders that hide usable content.
Tie animation to real load state, clean up timers, and avoid blocking first paint.
Use aria-busy on loading regions and concise status text. On mobile and reduced motion, prefer static progress text or skeletons.
| Prop | Type | Default | Description |
|---|---|---|---|
duration | number | 1 | Overall timeline duration multiplier. |
lineHeight | number | 1 | Rendered height of each loader line in pixels. |
darkLineColor | color | #ffffff | Line color on the dark loader layer. |
lightLineColor | color | #000000 | Line color on the light reveal layer. |
fadeOutDuration | number | 0.5 | Duration of the line fade-out phases. |
Use it when a brief indeterminate wait needs a quiet, restrained line indicator.
Determinate loaders should always map to real progress. Fake progress damages trust.
Use aria-busy on the loading region and concise status text in a polite live region when useful.
Use skeletons when the layout is known and content streams into place.
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.
Need a custom effect? Tell us what to create.