docs/components/feedback/ProgressRing

ProgressRing

Circular ring progress indicator.

import { ProgressRing } from '@ybouhjira/hyperkit';

#Playground

Edit the code — the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#More Examples

Small

<ProgressRing value={45} size="sm" />

Large

<ProgressRing value={75} size="lg" />

#Props

PropTypeDefaultDescription
valuenumber0Progress value (0-100).
size'sm' | 'md' | 'lg' | number'md' (64px)Ring size (preset or pixel value).
strokeWidthnumber4Stroke thickness in pixels.
colorstring'var(--sk-accent)'Fill color (CSS color value).
trackColorstring'var(--sk-bg-tertiary)'Track/background color (CSS color value).
childrenJSX.ElementContent rendered in the center of the ring.
classstringAdditional CSS classes.
styleJSX.CSSPropertiesCustom styles.
'aria-label'string'Progress'Accessible label for screen readers.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-accent
  • --sk-bg-tertiary