Loading…
‹ Pedantic

Component · Finished

Loader (Component)

  • PUBLIC
  • Finished
Library nameLoader (Component)
Conforming nameNot assigned yet — a lone noun; a parent would be redundant, so this one keeps its name until the convention settles it.
GroupAdded — Nov 12, 2026
StatusFinished — ships as the shared aCo loader on the family sites and from the CDN

Usage

The aCo loader: the aCo crest sits still in the center while a ring arc in crest pink #FF66C4 revolves around it, with four tiny sparkle stars looping the same orbit and twinkling, over a soft pink glow behind the crest. It is the loading indicator for the aCo family — this hub runs it, and so does every family site.

Code

The loader styles ride inside the Pedantic stylesheet, and its behavior is one script — both served from the CDN:

<link rel="stylesheet" href="https://cdn.aco.digital/pedantic/pedantic.css">
<script src="https://cdn.aco.digital/pedantic/loader.js"></script>

With the script loaded, call acoLoader.show() for the full-page loader or acoLoader.show(element) to contain it, and acoLoader.hide() to fade it out. A page that bakes the loader markup in (as this hub does) has it hide itself once the page has loaded.

Accessibility notes

Under prefers-reduced-motion, the ring, the stars, the twinkle, and the glow all stop — the loader is still. The overlay carries role="status" with a visually hidden “Loading…” label, so the state is announced without the animation carrying meaning.