1.0.3 • Published 4 years ago

react-gradient-progress v1.0.3

Weekly downloads
675
License
MIT
Repository
github
Last release
4 years ago

React Gradient Progress

Simple and light gradient-enabled circular progressbar for reactjs/nextjs

React Gradient Progress

NPM JavaScript Style Guide

Installation

Using npm

npm i -s react-gradient-progress

Basic Usage

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

<CircleProgress percentage={75} strokeWidth={8} />

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

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago