Superui logo

SuperUI

alpha

DocsCommunityMy components
DocsCommunityMy components

Progress

Progress component for React.

Linear Progress

Primary

Secondary

Danger

import { LinearProgress } from "@superui/styles";

<LinearProgress variant="primary" type="determinate" value={60} />;
<LinearProgress variant="secondary" type="determinate" value={25} />;
<LinearProgress variant="danger" type="determinate" value={75} />;

Linear Progress Props

NameTypeDefaultDescription
variantStringprimaryVariant of the component
typeStringdeterminateHas a limit or is indeterminated
valueNumber0Current progres value
minNumber0min value, the starter value
maxNumber100Limit of the progress bar
classNameString-Custom class names

Circular Progress

Primary

50%

Secondary

15%

Danger

40%
import { CircularProgress } from "@superui/styles";

<CircularProgress value={50} size="md" variant="primary" />
<CircularProgress value={15} size="xl" variant="secondary" />
<CircularProgress value={40} size="lg" variant="danger" />

Circular Progress Props

NameTypeDefaultDescription
variantStringprimaryVariant of the component
sizeStringmdSize of the component
valueNumber0Current progres value
classNameString-Custom class names