CircleProgress

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

Usage

import { CircleProgress } from "@yamada-ui/react"
<CircleProgress.Root>
  <CircleProgress.Label />
</CircleProgress.Root>

Change Variant

Change Size

Alternatively, set a string or number to boxSize.

Change Color Scheme

Change Shape

Apply Animation

Setting value to null will apply animation.

Change Animation Duration

Set a number to duration.

Change Thickness

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

Add Label

75%

Change Color

Props

Accessibility

Setting aria-label or aria-labelledby on CircleProgress.Root will make it readable by screen readers.

<CircleProgress.Root
  value={88}
  aria-label="Central Processing Unit (CPU) Usage"
/>
<VStack gap="sm">
  <Text as="h3" id="label">
    Central Processing Unit (CPU) Usage
  </Text>

  <CircleProgress.Root value={88} aria-labelledby="label" />
</VStack>

ARIA Roles and Attributes

ComponentRole and AttributeUsage
CircleProgressCirclerole="progressbar"Indicates that it is a progress bar.
aria-labelSet the label that describes the current progress, such as "18 percent".
aria-valueminSets the minimum value. Default is 0.
aria-valuemaxSets the maximum value. Default is 100.
aria-valuenowSets the current value.