Introducing PrimeReact v11-alpha 🎉Discover Now
styledMisc

ProgressSpinner

ProgressSpinner is a process status indicator that supports both determinate and indeterminate modes.

Game completed
0%
The legend of Zelda
Tears of the Kingdom
preview

Usage#

import { ProgressSpinner } from '@primereact/ui/progressspinner';
<ProgressSpinner.Root>
    <ProgressSpinner.Track />
    <ProgressSpinner.Range />
</ProgressSpinner.Root>

Examples#

Indeterminate#

An animated spinner indicating an indeterminate loading state. This is the default mode when no value is provided.

basic-demo

Determinate#

Set a numeric value prop to display a determinate progress indicator with a track and range.

75%
determinate-demo

API#

Sub-Components#

See Primitive API for ProgressSpinner component documentation.

Hooks#

See Headless API for useProgressSpinner hook documentation.

Accessibility#

See ProgressSpinner Primitive for WAI-ARIA compliance details and keyboard support.