Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

CircleProgress

CircleProgress is a component that displays progress in a circular progress bar.

Source@yamada-ui/progress

Import

import { CircleProgress, CircleProgressLabel } from "@yamada-ui/react"
Copied!

Usage

Editable example

<CircleProgress value={19} />
Copied!

Change Size

You can change the boxSize (width, height) by setting a string or number to the size.

Editable example

<CircleProgress value={18} size={32} />
Copied!

Change Thickness

To change the thickness of the progress bar, set a string or number to thickness.

Editable example

<CircleProgress value={31} thickness={1} />
Copied!

Add Label

Editable example

<CircleProgress
  size="120px"
  min={0}
  max={1000}
  value={444}
  color="purple.500"
  trackColor="green.300"
>
  <CircleProgressLabel color="purple.500">444%</CircleProgressLabel>
</CircleProgress>
Copied!

Round the Corners

You can round the progress bar by setting isRounded to true.

Editable example

<CircleProgress value={18} isRounded />
Copied!

Apply Animation

Setting isAnimation to true will apply animation.

Editable example

<CircleProgress value={18} isAnimation />
Copied!

Edit this page on GitHub

PreviousProgressNextMedia and Icons