interface

ProgressSteps

A horizontal stepper whose fill animates to the current step on the house spring. Completed dots and the connecting track carry the earned accent; the active step gets a soft glow ring; pending steps stay neutral.

$ npx ondajs add progress-steps

ProgressSteps

A horizontal stepper whose fill animates to the current step on the house spring (useSpringValue). Completed dots and the connecting track carry the earned accent; the active dot gets a soft glow ring; pending steps stay neutral. Labels brighten as their step activates.

Props

PropTypeDefaultNotes
stepsstring[]["Plan","Build","Render","Ship"]Step labels.
currentnumber2Completed count; fill animates here.
delaynumber0Frames before the fill.
durationnumber30Frames for the fill to travel.
accentColorstring#D96B82Completed / active color.
dimColorstring#26262EPending color.
labelColorstring#8E8E98Label color.
fontFamily / fontSize34Label type (sized for video).
widthnumber1280Overall width.
placementregion or {x,y,anchor}Canvas placement.

Uses CSS color-mix to blend the dot color across activation. Supported in modern Chromium (Remotion's renderer).

Usage

TSX
import { ProgressSteps } from './components/onda/progress-steps/ProgressSteps';

export const OnboardingScene = () => (
  <ProgressSteps steps={['Plan', 'Build', 'Ship']} current={2} placement="center" />
);