lara-light-indigo

ProgressBar

ProgressBar is a process status indicator.

Dynamic
0%
Static
50%
Custom display value
40/100
Indeterminate
Import via Module

import { ProgressBar } from 'primereact/progressbar';
 
Import via CDN

<script src="https://unpkg.com/primereact/core/core.min.js"></script>
 
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" />
 
Properties
NameTypeDefaultDescription
idstringnullUnique identifier of the element.
valuenumbernullCurrent value of the progress.
showValuebooleantrueShow or hide progress bar value.
unitstring%Unit sign appended to the value.
stylestringnullInline style of the element.
classNamestringnullStyle class of the element.
modestringdeterminateDefines the mode of the progress, valid values are "determinate" and "indeterminate".
colorstringnullColor for the background of the progress.
displayValueTemplateElementnullCustom display value template
Styling

Following is the list of structural style classes, for theming classes visit theming page.

NameElement
p-progressbarContainer element.
p-progressbar-determinateContainer element of a determinate progressbar.
p-progressbar-indeterminateContainer element of an indeterminate progressbar.
p-progressbar-valueElement whose width changes according to value.
p-progressbar-labelLabel element that displays the current value.
Dependencies

None.

Component Scale

Input Style

Ripple Effect

Free Themes

Built-in component themes created by the PrimeReact Theme Designer.

Bootstrap
Blue
Purple
Blue
Purple
Material Design
Indigo
Deep Purple
Indigo
Deep Purple
Material Design Compact
Indigo
Deep Purple
Indigo
Deep Purple
Tailwind
Tailwind Light
Fluent UI
Blue
PrimeOne Design - 2022 NEW
Lara Indigo
Lara Blue
Lara Purple
Lara Teal
Lara Indigo
Lara Blue
Lara Purple
Lara Teal
PrimeOne Design - 2021
Saga Blue
Saga Green
Saga Orange
Saga Purple
Vela Blue
Vela Green
Vela Orange
Vela Purple
Arya Blue
Arya Green
Arya Orange
Arya Purple
Premium Themes

Premium themes are only available exclusively for PrimeReact Theme Designer subscribers and therefore not included in PrimeReact core.

Soho Light
Soho Dark
Viva Light
Viva Dark
Mira
Nano

Legacy Free Themes

Nova
Nova Alt
Nova Accent
Luna Blue
Luna Green
Luna Amber
Luna Pink
Rhea

Premium Create-React-App Templates

Beautifully crafted premium create-react-app application templates by the PrimeTek design team.

Sakai
Atlantis
Freya
Ultima
Diamond
Sapphire
Serenity
Babylon
Avalon
Apollo
Roma