
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@rc-component/progress
Advanced tools
Progress Bar.
https://progress.react-component.vercel.app/
import { Line, Circle } from '@rc-component/progress';
export default () => (
<>
<Line percent={10} strokeWidth={4} strokeColor="#D3D3D3" />
<Circle percent={10} strokeWidth={4} strokeColor="#D3D3D3" />
</>
);
![]() IE / Edge | ![]() Firefox | ![]() Chrome | ![]() Safari | ![]() Electron |
|---|---|---|---|---|
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
| name | type | default | description |
|---|---|---|---|
| strokeWidth | Number | 1 | Width of the stroke. Unit is percentage of SVG canvas size. |
| strokeColor | String | #2db7f5 | Stroke color. |
| railWidth | Number | 1 | Width 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. |
| railColor | String | #D9D9D9 | Color for lighter rail stroke underneath the actual progress path. |
| strokeLinecap | String | 'round' | The shape to be used at the end of the progress bar: can be `butt`, `square` or `round`. |
| prefixCls | String | rc-progress | prefix className for component |
| className | String | customized className | |
| style | Object | style object will be added to svg element | |
| percent | Number | Number[] | 0 | the percent of the progress |
| gapDegree | Number | 0 | the gap degree of half circle, 0 - 360 |
| gapPosition | String | top | the gap position: can be `top`, `bottom`, `left`, or `right`. |
| loading | Boolean | false | If it is true the indeterminate progress will be enabled. |
npm install --save @rc-component/progress
npm install
npm start
@rc-component/progress is released under the MIT license.
FAQs
progress ui component for react
The npm package @rc-component/progress receives a total of 882,216 weekly downloads. As such, @rc-component/progress popularity was classified as popular.
We found that @rc-component/progress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.