
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@rn-components-kit/progress
Advanced tools
English | ä¸ć–‡
Display the current progress of an operation flow. It supports the following features:
line and circle two types of progress barnormal, active, success and fail four status for progress bar:warning: NOTE
As Progress supports linear gradient option, you should add react-native-linear-gradient into your project. If you havn't do this, you can follow the instructions here.
npm install @rn-components-kit/progress --save
| Preview | Code |
|---|---|
![]() | Demo1 Code |
![]() | Demo2 Code |
![]() | Demo3 Code |
![]() | Demo4 Code |
![]() | Demo5 Code |
styletypepercentstatuslineWidthcolortrackColorradiusshowInfolineInfoTextStylecircleInfoTextStylepercentFormatterrenderInfostyleAllows you to customize style
| Type | Required | Default |
|---|---|---|
| object | no | - |
typeDetermine progress bar's type
| Type | Required | Default |
|---|---|---|
enum('line', 'circle') | no | 'line' |
percentCurrent completion percentage (must be between 0 and 100)
| Type | Required | Default |
|---|---|---|
| number | no | 0 |
statusStatus of progress
| Type | Required | Default |
|---|---|---|
enum('normal', 'active', 'success', 'fail') | no | 'normal' |
lineWidthLine width of progress bar
| Type | Required | Default |
|---|---|---|
| number | no | 6 |
colorHighlight color of progress bar
| Type | Required | Default |
|---|---|---|
| string | no | '#40A9FF' |
trackColorColor of progress track
| Type | Required | Default |
|---|---|---|
| string | no | '#EFEFEF' |
radiusRadius of circle (only works when type is 'circle')
| Type | Required | Default |
|---|---|---|
| number | no | 50 |
showInfoDetermines whether to display info area (percent tip and icon)
| Type | Required | Default |
|---|---|---|
| boolean | no | true |
lineInfoTextStyleAllows you to customize percent tip's style (only works when type is 'line')
| Type | Required | Default |
|---|---|---|
| object | no | - |
circleInfoTextStyleAllows you to customize percent tip's style (only works when type is 'circle')
| Type | Required | Default |
|---|---|---|
| object | no | - |
percentFormatter(value: number) => string
Progress will pass value to percentFormatter, and display its return value in info area
| Type | Required | Default |
|---|---|---|
| function | no | value => ${value}% |
renderInfo() => React.ReactElement
Allow you to fully customize info area
| Type | Required | Default |
|---|---|---|
| function | no | - |
FAQs
Display the current progress of an operation flow.
We found that @rn-components-kit/progress demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.