🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@rc-component/progress

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rc-component/progress

progress ui component for react

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
777K
52.26%
Maintainers
5
Weekly downloads
 
Created
Source

@rc-component/progress

Progress Bar.

NPM version dumi build status Test coverage npm download bundle size

Example

https://progress.react-component.vercel.app/

Screenshots

Browsers

  • support IE9+, Chrome, Firefox, Safari

Install

@rc-component/progress

Usage

import { Line, Circle } from '@rc-component/progress';

export default () => (
  <>
     <Line percent={10} strokeWidth={4} strokeColor="#D3D3D3" />
     <Circle percent={10} strokeWidth={4} strokeColor="#D3D3D3" /> 
  </>
);

Compatibility

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Electron
Electron
IE11, Edgelast 2 versionslast 2 versionslast 2 versionslast 2 versions

API

props

nametypedefaultdescription
strokeWidthNumber1Width of the stroke. Unit is percentage of SVG canvas size.
strokeColorString#2db7f5Stroke color.
railWidthNumber1Width of the rail stroke. Unit is percentage of SVG canvas size. Rail is always centered relative to actual progress path. If railWidth is not defined, it is the same as strokeWidth.
railColorString#D9D9D9Color for lighter rail stroke underneath the actual progress path.
strokeLinecapString'round'The shape to be used at the end of the progress bar: can be `butt`, `square` or `round`.
prefixClsStringrc-progressprefix className for component
classNameStringcustomized className
styleObjectstyle object will be added to svg element
percentNumber | Number[]0the percent of the progress
gapDegreeNumber0the gap degree of half circle, 0 - 360
gapPositionStringtopthe gap position: can be `top`, `bottom`, `left`, or `right`.
loadingBooleanfalseIf it is true the indeterminate progress will be enabled.

Installation

npm install --save @rc-component/progress

Development

npm install
npm start

License

@rc-component/progress is released under the MIT license.

Keywords

react

FAQs

Package last updated on 28 Nov 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