@webkom/react-meter-bar
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

react-meter-bar

A simple react meter component with seperators and labels Live demo

Installation
yarn add react-meter-bar
npm install react-meter-bar
Example #1
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"
/>
Example #2
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"
  />

react-meter-bar

/@webkom/react-meter-bar/

    Package Sidebar

    Install

    npm i @webkom/react-meter-bar

    Weekly Downloads

    67

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    173 kB

    Total Files

    11

    Last publish

    Collaborators

    • webkom