MiHCM
feedback/@mihcm/ui·v0.21.0·stable

ProgressCircle

Circular progress indicator for KPI cards and compact status summaries with semantic tones and value formatting.

Props

The full prop API for ProgressCircle. Same surface in web and React Native — bundlers pick the right variant via the react-native export condition.

PropTypeDefaultDescriptionSince
valuenumberCurrent progress value.0.12.0
maxnumber100Maximum progress value.0.12.0
size'sm' | 'md' | 'lg' | 'xl''md'Circle diameter and stroke preset.0.12.0
tone'primary' | 'accent' | 'success' | 'warning' | 'danger''primary'Semantic stroke tone.0.12.0
segmentedbooleanfalseUse value-based semantic threshold colors for the ring and default center value color.0.12.2
segmentsProgressCircleSegment[]Custom percentage thresholds for segmented mode.0.12.2
showValuebooleantrueShow or hide the center value label.0.12.0
valueSize'xs' | 'sm' | 'md' | 'lg' | 'xl''sm'Center value font-size preset.0.12.2
valueTone'auto' | 'foreground' | 'primary' | 'accent' | 'success' | 'warning' | 'danger'Center value color. Use `auto` to match the resolved ring tone.0.12.2
valueFormatter(value: number, percentage: number) => ReactNodeFormats the center value label.0.12.0
valueClassNamestringAdditional Tailwind classes on the center value label.0.12.2
labelstring'Progress'Accessible progressbar label.0.12.0
classNamestringAdditional Tailwind classes on the root wrapper.0.12.0

Import

import { ProgressCircle } from '@mihcm/ui/ProgressCircle';