# Progress Indicator Progress indicators inform users about the status of ongoing processes by providing visual feedback about the progress of a task or operation. It is commonly seen in design patterns like: File uploads, Password strength etc. **Category:** Components **Storybook:** https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-progress-indicator--introduction ## Variants documented in Storybook - ProgressBars: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-progress-indicator--progressbars - ProgressCircles: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-progress-indicator--progresscircles - ProgressHalfCircles: https://doc.ux4g.gov.in/web/?path=/story/ux4g-components-progress-indicator--progresshalfcircles ## Framework setup ### HTML / CDN ```html ``` ### React ```bash npm install ux4g-web-components ``` ```jsx import 'ux4g-web-components/styles.css'; import 'ux4g-web-components/design-system'; ``` ### Angular Update `angular.json`: ```json { "styles": [ "node_modules/ux4g-web-components/styles/ux4g.css", "src/styles.css" ], "scripts": [ "node_modules/ux4g-web-components/dist/runtime/design-system.js" ] } ``` ## Code examples The snippets below are extracted from the Storybook canvas for Progress Indicator. Each example shows the rendered HTML, the equivalent React JSX, and the Angular template markup. ### 1. Introduction — Introduction HTML: ```html
Progress indicators inform users about the status of ongoing processes by providing visual feedback about the progress of a task or operation. It is commonly seen in design patterns like: File uploads, Password strength etc.
Visual demonstration of various progress indicators including bars, circles, and half circles.
Sharp bars with outside label placement.
Sharp bars with inside label placement.
Rounded bars with outside label placement.
Rounded bars with inside label placement.
Rings across all Figma sizes with inside label placement.
Description
Description
Description
Rings across all Figma sizes with outside label placement.
Description
Description
Description
Description
Description
Description
Description
Half-circle indicators with sharp treatment.
Half-circle indicators with rounded treatment.
Quickly copy sizing and variant data attributes for Progress Indicators.
|
Progress Bar
data-ux-progress-bar
|
|
Progress Circle
data-ux-progress-circle
|
|
Progress Half Circle
data-ux-progress-half
|
|
Progress Value
data-ux-progress="0-100"
|
|
Sharp
data-ux-shape="sharp"
|
|
Rounded
data-ux-shape="rounded"
|
|
Outside
data-ux-label-placement="outside"
|
|
Inside
data-ux-label-placement="inside"
|
Progress indicators inform users about the status of ongoing processes by providing visual feedback about the progress of a task or operation. It is commonly seen in design patterns like: File uploads, Password strength etc.
Visual demonstration of various progress indicators including bars, circles, and half circles.
Sharp bars with outside label placement.
Sharp bars with inside label placement.
Rounded bars with outside label placement.
Rounded bars with inside label placement.
Rings across all Figma sizes with inside label placement.
Description
Description
Description
Rings across all Figma sizes with outside label placement.
Description
Description
Description
Description
Description
Description
Description
Half-circle indicators with sharp treatment.
Half-circle indicators with rounded treatment.
Quickly copy sizing and variant data attributes for Progress Indicators.
|
Progress Bar
data-ux-progress-bar
|
|
Progress Circle
data-ux-progress-circle
|
|
Progress Half Circle
data-ux-progress-half
|
|
Progress Value
data-ux-progress="0-100"
|
|
Sharp
data-ux-shape="sharp"
|
|
Rounded
data-ux-shape="rounded"
|
|
Outside
data-ux-label-placement="outside"
|
|
Inside
data-ux-label-placement="inside"
|
Progress indicators inform users about the status of ongoing processes by providing visual feedback about the progress of a task or operation. It is commonly seen in design patterns like: File uploads, Password strength etc.
Visual demonstration of various progress indicators including bars, circles, and half circles.
Sharp bars with outside label placement.
Sharp bars with inside label placement.
Rounded bars with outside label placement.
Rounded bars with inside label placement.
Rings across all Figma sizes with inside label placement.
Description
Description
Description
Rings across all Figma sizes with outside label placement.
Description
Description
Description
Description
Description
Description
Description
Half-circle indicators with sharp treatment.
Half-circle indicators with rounded treatment.
Quickly copy sizing and variant data attributes for Progress Indicators.
|
Progress Bar
data-ux-progress-bar
|
|
Progress Circle
data-ux-progress-circle
|
|
Progress Half Circle
data-ux-progress-half
|
|
Progress Value
data-ux-progress="0-100"
|
|
Sharp
data-ux-shape="sharp"
|
|
Rounded
data-ux-shape="rounded"
|
|
Outside
data-ux-label-placement="outside"
|
|
Inside
data-ux-label-placement="inside"
|
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description