Skip to main content

Circular Progress Bar

Circular Progress bars serve the same purpose as simple progress bars, i.e display an indicator showing the completion/progress of a task.

30%
import React from 'react';
import { CircularProgressBar } from 'chic-ui';

<CircularProgressBar progress={30} type="primary" showProgress={true} />;

Hidden Progress

You can hide the progress using showProgress prop.

import React from 'react';
import { CircularProgressBar } from 'chic-ui';

<CircularProgressBar progress={80} type="success" showProgress={false} />;

API

import { CircularProgressBar } from 'chic-ui';
NameTypeDefaultDescription
progressnumber70Amount of progress
type'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'info' | 'light''primary'Type of Circular Progress Bar
showProgressbooleantrueShow progress number
classNamestringProvide external classnames to the component
styleReact.CSSPropertiesOverride default styling of the component