Show measured completion or ongoing work with no known total.
<script type="module" src="/assets/components/progress/qds-progress.js"></script>
<qds-progress id="progress-main" value="35" max="100" label="Report upload" value-text="35 percent"></qds-progress>
| API | Contract |
|---|---|
value |
Number property/attribute clamped to 0…max; null, absent or invalid means indeterminate. |
max |
Positive numeric property/attribute, default 100; minimum effective max is 1. |
label |
Accessible progress name, default Progress. |
value-text |
Optional human-readable completion, such as 3 of 5 files. |
The progressbar exposes minimum, maximum and current value. Indeterminate mode omits aria-valuenow. Values never produce NaN/Infinity geometry or ARIA. The component is not a live region; announce meaningful milestones separately rather than every small update. Set aria-busy on the associated content when appropriate. Reduced-motion mode disables the indeterminate animation. CSS parts: track, indicator. No custom events are emitted.
The component uses native Web Components with an open shadow root, existing QDS CSS custom properties, and no framework runtime. Base CSS is loaded once. Set data-theme="dark" or data-theme="light" on a containing element or use the documentation toolbar. Event listeners and observers are removed on disconnect; reconnecting is supported.
Interactive demo · P0 contracts and verification
Generated Quangular wrappers expose the same attributes/properties and events using the q-qds- prefix. For child composition, use the documented native child elements inside the wrapper when the native parent requires direct children. See the Quangular catalog for generated type signatures.