Progress Bar

The Progress Bar component visually represents the completion state of a task or process.

Usage

Default


<Progressbar value={65} />

Props

Data table
TypeDescription
animatedbooleanIf true, applies an animated effect to the progress bar.
aria-describedbystringID of the element that describes the progress bar. Useful for extra context or status messaging.
aria-labelstringAccessible label for the progress bar. Use this when no visible label exists.
aria-labelledbystringID of the element that labels the progress bar. Prefer this when there is a visible label in the UI.
aria-valuetextstringCustom accessible text for screen readers. Example: "Uploading 3 of 5 files"
classNamestringOptional additional class name(s) for custom styling.
data-testidstringOptional test ID for testing purposes.
descriptionReactNodeOptional description content rendered for assistive technology.
descriptionIdstringOptional id applied to the description container. Useful when connecting the description with aria-describedby.
indeterminatebooleanIf true, the progress bar shows an indeterminate animation. When true, the value prop is ignored.
labelReactNodeOptional label describing what the progress represents. Example: "Uploading files", "Build progress"
labelIdstringOptional id applied to the visible label container. Useful when connecting the label with aria-labelledby.
labelPositionLabelPositionTypePosition of the label relative to the progress bar.
roundingRoundingTypeRounding to apply to the progress bar. One of: "none" | "small" | "medium" | "large" | "full"
shadowShadowTypeShadow to apply to the progress bar. One of: "none" | "light" | "medium" | "strong" | "intense"
sizeSizeTypeSize of the progress bar. One of: "xs" | "small" | "medium" | "large" | "xl"
stateStateTypeState of the progress bar. One of: "success" | "error" | "warning" | "disabled" | ""
themeThemeTypeTheme for styling the progress bar. One of: "primary" | "secondary" | "tertiary" | "quaternary" | "clear"
valuenumberValue of progress (0 to 100). Ignored if `indeterminate` is true.