Skip to main content

Progress Bar

Progress bars display an indicator showing the completion/progress of a task.

80%

80%
import React from 'react';
import { ProgressBar } from 'chic-ui';

<>
<ProgressBar progress={80} />
<ProgressBar progress={80} type="danger" />
</>;

You can hide the progress using showProgress prop.

80%
import React from 'react';
import { ProgressBar } from 'chic-ui';

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

API

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