React ProgressBar

React ProgressBar

·

1 min read

React ProgressBar is a process status indicator

Setup

Refer to PrimeReact setup documentation for download and installation steps for your environment.

Import

import { ProgressBar } from 'primereact/progressbar';

Getting Started

ProgressBar has two modes; "determinate" (default) and "indeterminate". In determinate mode, a value between 0 and 100 is required to display the progress.

<ProgressBar value={value} />

Indeterminate is simplly enabled using mode property.

<ProgressBar mode="indeterminate" />

Theming

ProgressBar supports various themes featuring Material, Bootstrap, Fluent as well as your own custom themes via the Designer tool.

Resources

Visit the PrimeReact ProgressBar showcase for demos and documentation.