React ProgressSpinner is a process status indicator.
Setup
Refer to PrimeReact setup documentation for download and installation steps for your environment.
Import
import { ProgressSpinner } from 'primereact/progressspinner';
Getting Started
ProgressSpinner is defined using ProgressSpinner element.
<ProgressSpinner/>
Colors
Colors of the spinner can be changed by overriding the keyframes animation
@keyframes ui-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 PrimeReact ProgressSpinner showcase for demos and documentation.