
Lines Loader
Loaders
A numeric intro loader that counts from 0 to 100 on a timer through a tunnel of WebGL digits, then warps away to reveal the content underneath.
Numeric Tunnel gives a short wait a branded moment: numbers count from 0 to 100 on a timer, not real progress.
Use it as a short branded intro while a hero scene, assets, or WebGL warm up. Do not add a fake preloader to a fast page just to make it feel designed.
The production risk is dishonesty. The count runs on its own timer, so keep it brief, use aria-busy where the region is updating, and never present the number as real progress.
import NumericTunnel from '@/components/effects/numeric-tunnel' const page = () => { return ( <NumericTunnel /> )} export default pageA 3D product configurator can use Numeric Tunnel Loader as a short branded intro while the first view warms up. Digits stream through a tunnel as the count climbs, then the scene warps away to reveal the configurator.
The outcome is a branded entrance. The count runs on its own timer rather than measuring the load, so keep it brief and never present it as real progress. Determinate progress must be tied to a real signal.
Not for fast pages, fake progress, manufactured waits, or loaders that hide usable content.
Keep the timed count short, 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 |
|---|---|---|---|
digitCount | number | 50 | Number of digits rendered in the tunnel. |
speed | number | 1 | Forward motion speed. |
depth | number | 900 | Visual tunnel depth. |
textColor | string | #ffffff | Digit color. |
backgroundColor | string | #000000 | Tunnel background color. |
Use it for a short branded intro, such as a WebGL warm-up, where a timed count from 0 to 100 fits and no real progress needs reporting.
It cannot as shipped, because the count runs on a timer. Determinate loaders should map to real progress, so do not present this one as a progress readout.
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.
Numeric Tunnel keeps the timed count, the ring scaling and fades, and the crossfade to the content, but skips the ring rotation and the warp distortion. If you need static progress text or skeletons, swap the loader out under reduced motion.
Yes. A custom version should define motion rules, visual treatment, performance budget, fallback behavior, source handoff, and implementation notes for the specific page or launch context.
Need a custom effect? Tell us what to create.