@monade/react-circular-progress-bar
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@monade/react-circular-progress-bar

A fully typescript friendly react component for circular progress bar made with only divs, no svgs or canvas.

Read the full article about this component.

How to use it?

First we need to install the package with npm:

npm install @monade/react-circular-progress-bar

or with yarn:

yarn add @monade/react-circular-progress-bar

Then we just need to import and use it like this:

import { CircularProgressBar } from '@monade/react-circular-progress-bar'
<CircularProgressBar
  diameter={...}
  color={...}
  percentage={...}
  borderWidth={...}
  contentBackgroundColor={...}
  className={...}
  contentClassName={...}
>
  <span>{...}</span>
</CircularProgressBar>

License

I wrote this in a night as part of an experiment for an article I was writing, so feel free to use it as you like.

Keywords

none

Install

DownloadsWeekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

5.34 kB

Total Files

7

Last publish

Collaborators

  • monadestudio
  • progm