New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@commercetools-uikit/progress-bar

Package Overview
Dependencies
Maintainers
0
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-uikit/progress-bar

A progress bar component used to visualize the progression of an extended operation

  • 0.0.0-fec-155-react-19-20250115180926
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.6K
decreased by-26.92%
Maintainers
0
Weekly downloads
 
Created
Source

ProgressBar

Description

A progress bar component used to visualize the progression of an extended operation

Installation

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

Usage

import ProgressBar from '@commercetools-uikit/progress-bar';

const Example = () => <ProgressBar label={`${50}% completed`} progress={50} />;

export default Example;

Properties

PropsTypeRequiredDefaultDescription
progressnumber0The percentage of the task completion to fill the bar.
labelunion
Possible values:
, string, ReactElement, (MessageDescriptor & { values?: Record<string, ReactNode> }), null
nullThe text to display alongside the bar.
labelPositionunion
Possible values:
'top' , 'bottom' , 'left' , 'right'
'top'Location of the text in relation to the bar.
labelWidthunion
Possible values:
, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'
defaultStyles.labelWidthThe scale of the width for the label, uses values available in the Constraints.Horizontal component.
isInvertedbooleanfalseSpecifies the use of light colors(default) or dark colors.
isAnimatedbooleantrueSpecifies whether the inner bar should have the styles animated.
heightunion
Possible values:
'10' , '20'
defaultStyles.heightThe scale of the height for the bar, also affects the styles of the label.
barWidthunion
Possible values:
4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 'scale'
6The scale of the width for the label, uses values available in the Constraints.Horizontal component.

Keywords

FAQs

Package last updated on 15 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc