RemotionUI

Progress Bar

Inline progress bar with determinate and indeterminate modes, segments and a value readout.

PrimitivePrimitives

progress-bar30fps · 960×540
Install
$ npx remotion-ui@latest add progress-bar

Fills from from to progress on an ease-out, with the leading edge carrying its own light — what separates progress from a rectangle changing width.

It lays out inline rather than filling the frame, so it composes inside a card or a stat row. indeterminate loops a shuttle across the track for work with no known end.

Lays out inline rather than filling the frame, so it composes inside a card or a stat row.

Agent notes

Install first, then import the copied source component locally. AI guide →

Import
@/remotion/primitives/progress-bar
  • Use when: frame-level motion primitives and reusable animation wrappers.
  • Customize: progress, from, durationInFrames, delayInFrames, plus copied source for timing, layout, colors, and typography.
  • Rule: do not import this component from the remotion-ui npm package; it is copied into your project.

Usage

Example
import { ProgressBar } from "@/remotion/primitives/progress-bar"; <ProgressBar progress={0.75} label="Rendering" showValue segments={4} />

API Reference

PropTypeDescription
progressnumberValue the bar fills to, 0–1.
fromnumberValue the bar starts from, 0–1.
durationInFramesnumberFrames the fill takes.
delayInFramesnumberFrames before the fill starts.
springMotionSpringDrive the fill with a spring instead of the ease-out curve.
indeterminatebooleanLoop a shuttle across the track — work with no known end.
labelstringLabel above the track.
showValuebooleanPercentage readout on the right of the label row.
formatValue(progress: number) => stringOverride the readout text.
segmentsnumberDivide the track into equal steps.
colorstringFill colour.
trackColorstringColour of the empty track.
labelColorstringColour of the label row.
heightnumberBar thickness in pixels.
radiusnumberCorner radius.
glowbooleanSoft light carried by the leading edge of the fill.
widthnumber | stringWidth of the whole control.

Related