Skip to content

MazCircularProgressBar

MazCircularProgressBar is a standalone component

INFO

Before you have to import the global css files in your project, follow instructions in Getting Started

Basic usage

75%75%

Size

The size of the component can be changed by passing the size prop. The value could be a string in px, em or rem.

75%75%
75%75%
75%75%
75%75%

Duration

The duration of the animation can be changed by passing the duration prop. The value could be a number in milliseconds.

7575

Color

The color of the component can be changed by passing the color prop. Should be a valid color in basic colors.

7575
7575
7575
7575
7575
7575

Auto-color

The color of the component is automatically according to the percentage. The color will be green if the percentage is egal to 100%, orange if below 100%, and red if below 50%.

00
2525
5050
100100

Slot

Replace the percentage value by a custom slot.

Obviously, the "counter animation" will not work in this case.

2/4