Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-gradient-progress

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gradient-progress

Simple and light circular progressbar in react with a gradient

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
960
increased by3%
Maintainers
1
Weekly downloads
 
Created
Source

React Gradient Progress

Simple and light circular progressbar with gradient

React gradient progress bar

NPM JavaScript Style Guide

Installation

Using npm

npm i -s react-gradient-progress

Basic Usage

import {CircleProgress} from 'react-gradient-progress'

<CircleProgress percentage={90} />

Props

NameDescription
percentagePercentage progress. Required.
widthWidth of the progressbar container in px. Default: 200.
strokeWidthThe stroke width of the progress bar. Default: 5.
strokeLinecapStroke linecap type. Default: 'round'. Accepted values: 'butt', 'round', 'square'
fontSizeThe size of the percentage text. Default: '30px'.
fontColorThe color of the font. Default: 'inherit'.
fontFamilyFont family. Default: inherit.
primaryColorThe Gradient color. Should be an array of size 2. Default: ['#00BBFF', '#92d7f1'].
secondaryColorThe color of the uncovered percentage. Default: 'transparent'.
fillColor to fill in the progressbar. Default: 'transparent'.

Read more

https://medium.com/better-programming/build-beautiful-gradient-enabled-circular-progress-bars-in-react-d0a746deed0

Buy me a coffee if you like this repo

Send me a tip

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

FAQs

Package last updated on 18 May 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