New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-circle-progress-bar

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-circle-progress-bar

A circular progress bar with gradient colors for React

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
980
increased by6.87%
Maintainers
1
Weekly downloads
 
Created
Source

react-circle-progress-bar

A circular progress bar with gradient colors for React

Example circular progress bars

installation

npm install react-circle-progress-bar

usage

import Progress from 'react-circle-progress-bar'

<Progress progress={75} />

properties

Propertydefaultinformation
progress0Value of the progress bar. This can range from 0 - 100
strokeWidth4Width of the bar
ballStrokeWidth16Width of the ball
reduction0.25Percentage of the circle that is removed. Set to 0 o have a closed circle. Default uses 3/4 of the circle (75%) so .25 reduction
transitionDuration0.5Duration of transition between old and new progress value in seconds
transitionTimingFunctioneaseFunction for the transition between the old and new progress value. Any css transition function can be used
background#dde2e9 (light grey)Color of the empty part of the progress bar
hideBallfalseIndicates whether the ball at the furthest point of the progress bar is hidden
hideValuefalseIndicates wheter the text value of the progress bar should be hidden
subtitle""Text displayed below the percentage text value of the progress bar
styleundefinedSets the style on the wrapper component
classNameundefinedSets the className on the wrapper component
gradient[{stop: 0.0, color: '#00bc9b'}, {stop: 1, color: '#5eaefd'}]An array of objects, declaring the gradient color of the progress bar. Use 'stop' as percentage, and 'color' as color to declare a gradient.

FAQs

Package last updated on 12 Aug 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc