@webkom/react-meter-bar
Version:
A simple react meter component
42 lines (33 loc) • 763 B
Markdown
A simple react meter component with seperators and labels
[](https://noor0.github.io/react-meter-bar/ "Live demo")
```
yarn add react-meter-bar
```
```
npm install react-meter-bar
```
```
import Bar from 'react-meter-bar';
<Bar
labels={[0,10,20,30,40,50,60,70,80,90,100]}
labelColor="steelblue"
progress={80}
barColor="#fff34b"
seperatorColor="hotpink"
/>
```
```
import Bar from 'react-meter-bar';
<Bar
labels={["","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"]}
labelColor="steelblue"
progress={85}
barColor="#FF0303"
seperatorColor="#fff"
/>
```
