Socket
Book a DemoInstallSign in
Socket

@element-public/react-circular-progress

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@element-public/react-circular-progress

Circular Progress Indicator component for Element React

latest
npmnpm
Version
5.62.0-alpha.1
Version published
Weekly downloads
104
50.72%
Maintainers
2
Weekly downloads
 
Created
Source

CircularProgress

Description

Circular progress displays a specified or unspecified wait time as an animated ring.

See live demos on storybook

Storybook CircularProgress Demos

Install from Artifactory

  • Verify that you have access to (https://docs.int.bayer.com/cloud/devops/artifactory/)[Bayer Artifactory]
    • Verify your token is correctly set up in your .npmrc as per the link above
  • Verify you have the @element scope configured in your .npmrc
    • @element:registry=https://artifactory.bayer.com/artifactory/api/npm/npm-platforms-engineering/
  • Install the component and themes bundles
    • npm i @element/react-components @element/themes
      • alternatively install the component individually along with the themes bundle npm i @element/react-circular-progress @element/themes

Notes

There are two variants of the Circular Progress indicator, Indeterminate and Determinate. Both variants represent the progress, on a scale of 0 to 1, of the completion of a task. The same objective can be accomplished with the Linear Progress indicator, depending on which fits or looks better in certain use cases. See Storybook demos for details and examples of each.

Usage

Indeterminate Circular Progress is a constantly spinning circle, as opposed to a static icon. It moves continuously, like an icon that represents something in the process of loading. Having an icon that shows active progress prevents the user from unnecessarily refreshing or navigating away from the current screen.

Determinate Circular Progress is a circle that increments periodically or when prompted by a user, as opposed to a circle that moves continuously. This indicator could be preferable to the Indeterminate Circular Progress indicator when it should only update with input or action from a user.

Circular Progress Props

NameTypeDefaultRequiredDescription
ariaLabelstring'Progress Indicator'falseAccessibility label.
classNamestringundefinedfalseThe css class name to be passed through to the component markup.
indicatorSizestring'lg'falseThe size of the progress indicator.
Accepted Values: sm, md, lg
openbooleantruefalseSets the visibility of the progress indicator.
progressnumber0falseThe current progress of a determinate progress indicator. Must be between 0 and 1.
themeColorstring'primary'falseColor of the indicator stroke with 'primary' or 'secondary' theme color.
Accepted Values: primary, secondary, primary-variant, secondary-variant, two-color, two-color-variant, on-primary, on-secondary, on-success, on-danger, on-unknown-dark, on-unknown-light
variantstring'indeterminate'falseAn indeterminate CircularProgress indicator will continue spinning until closed. A determinate CircularProgress indicator will display the current progress.
Accepted Values: determinate, indeterminate

Circular Progress Deprecated Props

NameTypeDefaultRequiredDeprecatedDescription
sizestringundefinedfalseRenamed, see indicatorSize instead.The size of the progress indicator.

Circular Progress Breaking Changes

Description
variant: The original, pre v5, variant prop has been renamed to themeColor.

FAQs

Package last updated on 24 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts