Progress & Status
Segmented Stepper
Four-step circular stepper auto-advances, filling connector segments with a plum-to-teal gradient and stamping SVG checkmarks as each step completes.
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
Onboarding flows, multi-step form demos, or progress indicators on dark-themed dashboards where ambient motion is welcome.
When not to
Production use without wiring a real step controller — remove the auto-cycle loop and drive render() from actual form state.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the step labels to ['Cart','Payment','Review','Confirm'], set --pg02-accent to #f97316, and increase the hold time between steps to 1800ms by editing holdUntil=now+1000. 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
- step labels (STEPS array)
- accent color (--pg02-accent, --pg02-accent2)
- hold duration between steps (holdUntil=now+1000)
- connector fill gradient
- node size (clamp values in .pg02-node)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard (reduce branch)
- visibilitychange pause/resume
- aria-valuenow update on barRoot
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Auto-cycles indefinitely — must replace tick loop with real step logic for production
- Step count hardcoded at 4; adding steps requires adjusting .pg02-step width (14%) and label layout
More Progress & Status components
- Linear ProgressOlive-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…
- 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.