Feedback
Progress Bar
+ CProgressBar communicates completion for bounded work or ongoing activity
+ whose duration is not yet known.
+
Determinate progress
+
+ Set value when progress can be measured. Values are clamped between zero and
+ max, which defaults to 100. Add show-value to display a
+ compact percentage beside the track.
+
Indeterminate progress
+
+ Use indeterminate while work is active but no meaningful percentage is
+ available. In this mode value-related ARIA attributes and the optional value text are
+ omitted. Supply an accessible label describing the operation.
+
Semantic variants
++ Variants communicate state without changing behavior. Keep the default for ordinary + progress, and reserve semantic colors for meaningful outcomes or thresholds. +
+Sizes
+Custom maximum and value text
+
+ Use the value slot when a percentage is less useful than application-specific
+ units. The slot receives the normalized value, max, and calculated
+ percentage.
+
Properties
+-
+
value- Current numeric value. Defaults to
0and is clamped to the valid range. max- Positive upper bound used to calculate the percentage. Defaults to
100. indeterminate- Displays ongoing activity without claiming a measurable value.
show-value- Displays the rounded percentage beside determinate progress.
sizesmall,medium, orlarge.variantdefault,success,warning, ordanger.aria-label- Accessible name for the operation represented by the progress bar.