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

Progress

Horizontal bar showing completion against a max value. Determinate, indeterminate, fixed-tone, or threshold-segmented.

Live preview

Adjust the controls on the right; the preview and code update in real time.

0
100
82%
example.tsxtsx
import { Progress } from '@mihcm/ui/Progress';

export function Example() {
  return (
    <Progress
  value="82"
  tone="primary"
  size="md"
  showValue
  showTrackLabels
  valueLabelPosition="inline-end"
  trackLabelPosition="bottom"
  labelGap="xs"
  labelGroupGap="xs"
    ></Progress>
  );
}

Install

Both paths are valid. CLI ships the source into your repo (you own it). Install pins via npm.

npx @mihcm/cli add Progress
Copies the source into components/ds/Progress.tsx. You own the file. Use --out to override the directory or --force to overwrite.