
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@element-public/react-circular-progress
Advanced tools
Circular Progress Indicator component for Element React
Circular progress displays a specified or unspecified wait time as an animated ring.
Storybook CircularProgress Demos
@element:registry=https://artifactory.bayer.com/artifactory/api/npm/npm-platforms-engineering/
npm i @element/react-components @element/themes
npm i @element/react-circular-progress @element/themes
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.
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.
Name | Type | Default | Required | Description |
---|---|---|---|---|
ariaLabel | string | 'Progress Indicator' | false | Accessibility label. |
className | string | undefined | false | The css class name to be passed through to the component markup. |
indicatorSize | string | 'lg' | false | The size of the progress indicator. Accepted Values: sm, md, lg |
open | boolean | true | false | Sets the visibility of the progress indicator. |
progress | number | 0 | false | The current progress of a determinate progress indicator. Must be between 0 and 1. |
themeColor | string | 'primary' | false | Color 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 |
variant | string | 'indeterminate' | false | An indeterminate CircularProgress indicator will continue spinning until closed. A determinate CircularProgress indicator will display the current progress. Accepted Values: determinate, indeterminate |
Name | Type | Default | Required | Deprecated | Description |
---|---|---|---|---|---|
size | string | undefined | false | Renamed, see indicatorSize instead. | The size of the progress indicator. |
Description |
---|
variant: The original, pre v5, variant prop has been renamed to themeColor . |
FAQs
Circular Progress Indicator component for Element React
The npm package @element-public/react-circular-progress receives a total of 104 weekly downloads. As such, @element-public/react-circular-progress popularity was classified as not popular.
We found that @element-public/react-circular-progress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.