Linear Progress
A horizontal progress bar driven by a value, with an optional trailing percentage and an indeterminate state.
Show codeHide code
Installation
import { LinearProgress } from "@makeplane/propel/components/linear-progress";Usage
import { LinearProgress } from "@makeplane/propel/components/linear-progress";
export default function BasicDemo() {
return <LinearProgress value={60} size="md" variant="brand" aria-label="Upload progress" />;
}Examples
Variants
variant encodes signal: brand for accent, success/warning/danger for outcome.
Show codeHide code
Sizes
Track thickness: sm is 5px, md is 8px.
Show codeHide code
Indeterminate
indeterminate ignores value and shows an animated fill with no aria-valuenow, for operations of unknown duration. The trailing % is hidden unless you pass showValue.
Show codeHide code
With label
A visible label sits before the track and also names the bar for assistive tech.
Show codeHide code
API Reference
LinearProgress
A horizontal progress bar with an optional trailing % label. Drive it with value (0–max);
the fill and aria-valuenow follow. Pass indeterminate to ignore value and show an animated
fill instead (the trailing % hides by default in that mode). For a ring, use
CircularProgress. Grafts Base UI Progress (which owns progressbar) onto the
elements/linear-progress styled parts.