Vue3 ProgressSpinner is a process status indicator. It supports Vue 3 with PrimeVue 3 and Vue 2 with PrimeVue 2.
Setup
Refer to PrimeVue setup documentation for download and installation steps for your environment such as Vue CLI, Vite or browser.
Import
import ProgressSpinner from 'primevue/progressspinner';
Getting Started
ProgressSpinner is defined using ProgressSpinner element.
<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 PrimeVue ProgressSpinner showcase for demos and documentation.