Skip to content

CircularProgress ​

Represents determinate or indeterminate progress in a ring.

Import ​

ts
import { CircularProgress } from '@astryx-vue/lab'

Props ​

NameTypeDefaultDescription
valuenumberundefinedCurrent value; ignored in indeterminate mode.
maxnumber100Maximum value.
labelstringRequiredAccessible name.
isLabelHiddenbooleantrueHides the label visually while keeping it available to screen readers.
hasValueLabelbooleanfalseShows the value in the center.
formatValueLabel(value, max) => stringPercentageCustom center-value formatter.
size'sm' | 'md' | 'lg''md'Ring size.
variant'accent' | 'success' | 'warning' | 'error' | 'neutral''accent'Semantic color.
isIndeterminatebooleanfalseShows indeterminate animation.
isDisabledbooleanfalseUses disabled colors.

Use the default slot to replace the center content. value and hasValueLabel are ignored when isIndeterminate is enabled.