Skip to Content
Documentation
Saas UI
Get Pro
Getting started
Components
Overview

Progress Circle

Used to display a task's progress in a circular form.

SourceStorybookRecipeArk

Usage

import { ProgressCircle } from '@saas-ui/react/progress-circle'
<ProgressCircle.Root>
  <ProgressCircle.Circle>
    <ProgressCircle.Track />
    <ProgressCircle.Range />
  </ProgressCircle.Circle>
  <ProgressCircle.ValueText />
</ProgressCircle.Root>

Examples

Rounded

Use the strokeLinecap prop on ProgressCircle.Range to make the ends of the progress circle rounded.

Sizes

Use the size prop to change the size of the progress circle component.

Colors

Use the colorPalette prop to change the color scheme of the component.

gray

zinc

neutral

stone

red

orange

amber

yellow

lime

green

emerald

teal

cyan

sky

blue

indigo

violet

purple

fuchsia

pink

rose

Value Text

Render the ProgressCircle.ValueText component to display the progress value.

5%
5%
5%

Custom Thickness

Pass the --thickness css variable to the ProgressCircleRing component to change the thickness of the ring.

Indeterminate

Set the value prop to null to render the indeterminate state.

Color

Pass the stroke prop to the ProgressCircle.Range component to change the color of the range.

Props

Root

PropDefaultType
colorPalette 'gray'
'gray' | 'zinc' | 'neutral' | 'stone' | 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose' | 'presence' | 'status' | 'sidebar' | 'sidebar.accent' | 'accent' | 'slate'

The color palette of the component

size 'md'
'xs' | 'sm' | 'md' | 'lg' | 'xl'

The size of the component