An inline visual indicator that shows the progress of an ongoing task with an unknown completion percentage.
<nve-progress-dot aria-label="Loading results"></nve-progress-dot>
Installation
<script type="module">
import '@nvidia-elements/core/progress-dot/define.js';
</script>
<nve-progress-dot aria-label="Loading results"></nve-progress-dot>
nve api.get nve-progress-dot
Sizing
Controls the visual scale of an element to match its importance and available space.
Size Description sm Compact size for dense layouts or secondary elements with less visual prominence. md Standard size that works well in most contexts and provides balanced visibility. lg Larger size for emphasizing important elements or improving touch targets in spacious layouts. Three indicator sizes fit loading feedback into compact rows or spacious panels.
<div nve-layout="row gap:sm align:vertical-center">
<nve-progress-dot size="sm" aria-label="Loading results"></nve-progress-dot>
<nve-progress-dot size="md" aria-label="Loading results"></nve-progress-dot>
<nve-progress-dot size="lg" aria-label="Loading results"></nve-progress-dot>
</div>
Accessible Labels
The indicator provides a localized loading label by default. Set aria-label to describe the task, or use aria-labelledby to reference a visible label. Set aria-busy="true" on the region that loads, then remove or hide the indicator when the task finishes.
An adjacent label describes the pending task and supplies the indicator's accessible name.
<div nve-layout="row gap:xs"><span id="progress-dot-label" nve-text="body sm muted">Thinking</span><nve-progress-dot size="sm" aria-labelledby="progress-dot-label"></nve-progress-dot></div>
Release Status
All elements and features go through 3 phases of stability, pre-release, beta and stable.
pre-release Docs Preview API Documentation Fully Themeable
beta Robust unit test coverages Passed API Review Passed Designer VQA Review Included in library package stable No known outstanding AA WCAG issues No known outstanding performance issues Adapts to different screen/container sizes No breaking API changes for at least 90 days