Angular ProgressBar

Angular ProgressBar

·

1 min read

Angular ProgressBar is a process status indicator.

Setup

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

Import

import {ProgressBarModule} from 'primeng/progressbar';

Getting Started

ProgressBar has two modes; "determinate" and "indeterminate". Former requires a value between 0 and 100 to display the progress.

<p-progressBar [value]="value"></p-progressBar>
export class ModelComponent {

    value: number = 0;

}

Indeterminate has no such a requirement and is simple enabled using mode property.

<p-progressBar mode="indeterminate"></p-progressBar>

Theming

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

Resources

Visit the PrimeNG ProgressBar showcase for demos and documentation.