import ProgressSpinner from 'primevue/progressspinner';
An infinite spin animation is displayed by default.
<ProgressSpinner />
ProgressSpinner can be customized with styling property like style, strokeWidth fill and animationDuration.
<ProgressSpinner style="width: 50px; height: 50px" strokeWidth="8" fill="transparent"
animationDuration=".5s" aria-label="Custom ProgressSpinner" />
ProgressSpinner components uses progressbar role. Value to describe the component can be defined using aria-labelledby and aria-label props.
<ProgressSpinner aria-label="Loading" />
Component does not include any interactive elements.