Angular ProgressSpinner is a process status indicator.
Setup
Refer to PrimeNG setup documentation for download and installation steps for your environment.
Import
import {ProgressSpinnerModule} from 'primeng/progressspinner';
Getting Started
ProgressSpinner is defined using p-progressSpinner element.
<p-progressSpinner></p-progressSpinner>
Colors
Colors of the spinner can be changed by overriding the keyframes animation
@keyframes p-progress-spinner-color {
100%,
0% {
stroke: #d62d20;
}
40% {
stroke: #0057e7;
}
66% {
stroke: #008744;
}
80%,
90% {
stroke: #ffa700;
}
}
Theming
ProgressSpinner supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the Designer tool.
Resources
Visit the PrimeNG ProgressSpinner showcase for demos and documentation.