
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
react-percentage-circle
Advanced tools
progress ui component for react
var Line = require('rc-progress').Line;
var Circle = require('rc-progress').Circle;
var React = require('react');
React.render(<div>
<Line percent=“10” strokeWidth="4" strokeColor=“#D3D3D3” />
<Circle percent=“10” strokeWidth="4" strokeColor=“#D3D3D3” />
</div>, container);
name | type | default | description |
---|---|---|---|
strokeWidth | Number | 1 | Width of the stroke. Unit is percentage of SVG canvas size. |
strokeColor | String | #3FC7FA | Stroke color. |
trailWidth | Number | 1 | Width of the trail stroke. Unit is percentage of SVG canvas size. Trail is always centered relative to actual progress path. If trailWidth are not defined, it same as strokeWidth. |
trailColor | String | #D9D9D9 | Color for lighter trail stroke underneath the actual progress path. |
npm install
npm start
http://localhost:8000/examples/
online example: http://react-component.github.io/progress/
http://localhost:8000/tests/runner.html?coverage
rc-progress is released under the MIT license.
FAQs
React Percentage Circle
The npm package react-percentage-circle receives a total of 99 weekly downloads. As such, react-percentage-circle popularity was classified as not popular.
We found that react-percentage-circle 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.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.