1.3.3 • Published 4 years ago

react-progress-meter v1.3.3

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

ReactJS progress meter/indicator

NPM version Downloads

React Js UI component 3D progress meter, progress indicator, progress bar. Light colored component, which indicates progress of some web process in your react application. Works with React 16.x.x versions.

Demo

https://www.devzonetech.com/demo/react-progress-meter/

Demo image of progress meter/indicator

Installation

npm install react-progress-meter --save

Usage

You must update periodically the value of "currentProgress" prop to show the progress of your process.

import ReactProgressMeter from 'react-progress-meter'

export default class MyComponent extends React.Component {
    
    constructor() {
        super();

        this.state = {
            myProgress: 25,
        }
    }
    
    render() {
        return (
        <div>
            ...
            <ReactProgressMeter 
                currentProgress={this.state.myProgress} 
                showPercent={true}
                show={true}
                color="cyan" 
		width="80%"
	    />
        </div>
        )
    }
}

Component Props

PropDefaultValuesDescription
currentProgress75Numbers: 0..100Via this prop you can show the current progress of your process in the indicator as colored bar.
showtrueBoolean: true or falseShow or hide the component.
showPercentfalseBoolean: true or falseShow percent of the current progress as text in the progress meter.
colorcyanString: "red", "yellow", "lime", "cyan", "white", "navy"Color of your progress bar.
width100%String: percent or px. Examples: "100%" or "400px"Width of progress meter component.

License

This project is licensed under the MIT License - see the LICENSE file for details

DEVZONE TECH Ltd.

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago