forever components

Loaders

Conic Progress

A circular conic-gradient ring fills from 0–100% with a lime arc and a blurred gold glow layer; a live numeric counter updates in sync.

csslight complexitymoderate motion

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
Worth keeping? Votes steer what gets built next — sign in to cast one, free to read

When to use it

Loading screens, file upload progress, onboarding steps — anywhere a single prominent percentage needs ambient drama.

When not to

Contexts needing multiple simultaneous progress rings; the hardcoded dark background makes it unsuitable for light-mode UIs.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Change the fill color from iris to amber by setting --accent-iris to #f59e0b and --accent-cyan to #fcd34d, then increase the cycle duration from 2600ms to 4000ms (RUN variable). Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • accent colors (--accent-iris, --accent-cyan)
  • cycle duration (RUN=2600, HOLD=900)
  • ring size (min(40vmin,170px))
  • glow blur intensity (filter:blur(8px))
  • inner track inset (inset:12px in ::before)
  • theme tokens (:root dark defaults + [data-theme=light] overrides)

Keep intact

  • setPct() dirty-check (lastWhole guard) — avoids full repaint every frame
  • IIFE wrapper
  • visibilitychange pause/play
  • prefers-reduced-motion static fallback
  • theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)

Known limitations

  • Background color hardcoded to dark navy — must edit CSS vars to use in light-mode layouts
  • CSS transition on conic-gradient (background) is not hardware-accelerated — avoid on very low-end devices

loaderprogressconic-gradientcounterglowringcss

More Loaders components

  • Morphing BlobAurora-gradient blob slowly morphs border-radius and rotates, with an inset dark ghost layer counter-rotating. Soft glow on dark backdrop.
  • DNA HelixTwo columns of 10 glowing dots swing left-right in opposite phases, tracing a rotating DNA double helix. Cycling status messages fade in below.
  • Skeleton ShimmerDark content-placeholder card with avatar circle and staggered text bars swept by a looping gold-to-tan shimmer gradient. Pure CSS, no JS logic.
  • Particle Orbit18 glowing iris, cyan, and magenta particles orbit a white core on wobbling elliptical paths; trailing fill creates a comet-like motion blur effect.
  • Concentric PulseFour concentric rings ripple outward in staggered teal, tan, and slate waves from a beating gradient core dot on a dark background.
  • Equalizer BarsSeven pill-shaped vermillion-to-tan gradient bars bounce at staggered offsets, mimicking an audio equalizer. Pure CSS scaleY animation.