DefaultStatusMaxLabeledIndeterminateIndeterminateStatusColorsIndeterminateCustomColorCustomHeights
<nve-progress-bar value="50"></nve-progress-bar>
Edit Example
A progress bar is a visual indicator of the status of a running task. Under the hood, the component uses the native HTML progress element to achieve proper a11y concerns.
<div nve-layout="column gap:md pad:lg full">
<nve-progress-bar value="0"></nve-progress-bar>
<nve-progress-bar value="10"></nve-progress-bar>
<nve-progress-bar status="accent" value="25"></nve-progress-bar>
<nve-progress-bar status="success" value="50"></nve-progress-bar>
<nve-progress-bar status="warning" value="75"></nve-progress-bar>
<nve-progress-bar status="danger" value="100"></nve-progress-bar>
</div>
Edit Example
Communicates the intent and semantic meaning of an element to help users understand the outcome of their actions.
Status Description accent Highlights important actions or draws attention to primary interactive elements. warning Indicates cautionary actions that require careful consideration before proceeding. success Represents positive outcomes, confirmations, or constructive actions. danger Signals destructive or irreversible actions that need extra attention and confirmation.
<div nve-layout="column gap:md pad:lg full">
<nve-progress-bar status="accent" value="25" max="50"></nve-progress-bar>
<nve-progress-bar status="accent" value="45" max="50"></nve-progress-bar>
</div>
Edit Example
The max property sets the highest value that value scales to.
Max Description number
<div nve-layout="column gap:xs pad:lg align:horizontal-stretch full">
<div nve-layout="row align:space-between">
<p nve-text="label sm">Upload Status</p>
<p nve-text="label emphasis sm">80%</p>
</div>
<nve-progress-bar status="accent" value="80"></nve-progress-bar>
</div>
Edit Example
Use a labeled progress bar with percentage display to communicate upload or task status.
Indeterminate progress bar for showing activity when completion time is unknown, like loading or processing.
Indeterminate Status Colors
test-case
<div nve-layout="column gap:md full">
<nve-progress-bar status="accent"></nve-progress-bar>
<nve-progress-bar status="warning"></nve-progress-bar>
<nve-progress-bar status="danger"></nve-progress-bar>
</div>
Edit Example
Progress bars display as an animated loading indicator when no value attribute exists.
Indeterminate Custom Color
test-case
<nve-progress-bar
style="--accent-color: var(--nve-sys-accent-primary-background); --height: var(--nve-ref-size-150); --opacity: 1"
></nve-progress-bar>
Edit Example
Indeterminate progress bar with custom color, height, and opacity for brand-specific styling and visual emphasis.
<div nve-layout="column gap:md full">
<nve-progress-bar style="--height: var(--nve-ref-size-100)"></nve-progress-bar>
<nve-progress-bar style="--height: var(--nve-ref-size-200)"></nve-progress-bar>
<nve-progress-bar style="--height: var(--nve-ref-size-300)"></nve-progress-bar>
</div>
Edit Example
Progress bars with custom heights for different visual prominence levels and layout requirements.