
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
react-progressbar-semicircle
Advanced tools
Progress bar component in the shape of a semicircle - Try it out!
npm install --save react-progressbar-semicircle
import React, { Component } from "react";
import SemiCircleProgressBar from "react-progressbar-semicircle";
class Example extends Component {
render() {
return <SemiCircleProgressBar percentage={33} showPercentValue />;
}
}
Property | Description | Type | Required | Default |
---|---|---|---|---|
stroke | Color of the progress bar | string | false | #02B732 |
strokeWidth | Width of the progress bar | number | false | 10 |
background | Background color for the progress bar | string | false | #D0D0CE |
diameter | Diameter of the semicircle | number | false | 200 |
orientation | Orientation of the semicircle. Supports 'up' and 'down' | string | false | 'up' |
direction | Direction of the progressbar. Supports 'left' and 'right' | string | false | 'right' |
percentage | Percentage to be drawn on the bar. Number between 0 - 100 | number | true | |
showPercentValue | Show percentage value as a number in the middle of semicircle | boolean | false | false |
This repo comes with an example create-react-app under example/
that can be run locally to experiment with the component. This demo is also hosted here.
cd example
npm install
npm start
This will start the create-react-app dev server locally on port 3000 and open the demo app in your default browser.
This library is bootstrapped with the use of Create-React-Library CLI
MIT © ThomasBem
FAQs
Progress bar component in the shape of a semicircle
The npm package react-progressbar-semicircle receives a total of 2,580 weekly downloads. As such, react-progressbar-semicircle popularity was classified as popular.
We found that react-progressbar-semicircle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.