Progress & Status
Linear Progress
Olive-to-slate gradient bar fills left-to-right with a glowing leading edge, live percent readout, tick scale, and status dot; cycles fill → hold → reset automatically.
cssmedium complexitymoderate motion
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Upload/download status, task progress indicators, onboarding flows where a looping demo of determinate progress is needed.
When not to
Indeterminate loading states (bar simulates known progress); contexts where motion competes with dense UI content.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change accent color to a deeper rust by setting --accent:#A57855 and --accent2:#5C6670, and slow the fill phase to 4000ms by updating FILL=4000. 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, --accent2)
- fill phase duration (FILL=2600ms)
- hold phase duration (HOLD=900ms)
- reset phase duration (RESET=700ms)
- label text (.pg01-label content)
- status text (stxt.textContent)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard with static 68% fallback
- visibilitychange pause/resume
- aria-valuenow update on bar element
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Leading head position relies on cached barW from clientWidth — resize triggers re-measure but there is a one-frame lag
- Light re-theme via the [data-theme=light] token block; catalog bg/accent describe the dark default
More Progress & Status components
- Segmented StepperFour-step circular stepper auto-advances, filling connector segments with a plum-to-teal gradient and stamping SVG checkmarks as each step completes.
- Upload ProgressCircular rust-toned ring fills to 100% with a leading dot and numeric readout; completes with a green checkmark draw-in. Auto-cycles.
- Skeleton LoaderDark content-card skeleton with avatar, text rows, thumbnail, and pills swept by a staggered denim-blue diagonal shimmer and a breathing radial pulse.
- Battery ChargeBattery shell fills olive-to-tan from 4%→100% over 6 s with a travelling sheen, pulsing bolt icon, and green glow ring at full charge.
- Multi-TrackFour color-coded bars (ingest, transcode, index, publish) fill at staggered ease-out rates with a live N/4 complete counter; auto-resets after all finish.
- BufferingVideo-stream buffering bar: a sage-green fill chases a buffered-ahead band with a sweeping sheen, 8 segment dots, live percent counter, and ETA readout.