![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@commercetools-uikit/progress-bar
Advanced tools
A progress bar component used to visualize the progression of an extended operation
A progress bar component used to visualize the progression of an extended operation
yarn add @commercetools-uikit/progress-bar
npm --save install @commercetools-uikit/progress-bar
Additionally install the peer dependencies (if not present)
yarn add react
npm --save install react
import ProgressBar from '@commercetools-uikit/progress-bar';
const Example = () => <ProgressBar label={`${50}% completed`} progress={50} />;
export default Example;
Props | Type | Required | Default | Description |
---|---|---|---|---|
progress | number | 0 | The percentage of the task completion to fill the bar. | |
label | union Possible values: , string, ReactElement, (MessageDescriptor & { values?: Record<string, ReactNode> }), null | null | The text to display alongside the bar. | |
labelPosition | union Possible values: 'top' , 'bottom' , 'left' , 'right' | 'top' | Location of the text in relation to the bar. | |
labelWidth | union Possible values: , 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto' | defaultStyles.labelWidth | The scale of the width for the label, uses values available in the Constraints.Horizontal component. | |
isInverted | boolean | false | Specifies the use of light colors(default) or dark colors. | |
isAnimated | boolean | true | Specifies whether the inner bar should have the styles animated. | |
height | union Possible values: '10' , '20' | defaultStyles.height | The scale of the height for the bar, also affects the styles of the label. | |
barWidth | union Possible values: 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 'scale' | 6 | The scale of the width for the label, uses values available in the Constraints.Horizontal component. |
FAQs
A progress bar component used to visualize the progression of an extended operation
The npm package @commercetools-uikit/progress-bar receives a total of 843 weekly downloads. As such, @commercetools-uikit/progress-bar popularity was classified as not popular.
We found that @commercetools-uikit/progress-bar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.