Progress
Displays an indicator showing the completion progress of a task.
Usage
API Reference
VoltProgressLabel — volt-progress-label
| Input | Type | Default |
|---|---|---|
| class | string | '' |
| id | string | — |
VoltProgressValue — volt-progress-value
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltProgress — volt-progress
| Input | Type | Default |
|---|---|---|
| class | string | '' |
| value | number | null | null |
| min | number | 0 |
| max | number | 100 |
| valueLabel | (value: number, max: number, min: number) => string | (value, max, min) => `${max === min ? 0 : Math.round(((value - min) / (max - min)) * 100)}%` |
Component Source
Install via CLI:
npx @voltui/cli add progressTypeScript
Loading editor…
Copy this code to your project. The component uses ng-primitives/progress.