sigilUI

Progress Ring

Display a completion value around a circular track.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { ProgressRing } from "@sigil-ui/components";

Usage

<ProgressRing
    tracks={[
      { label: "Move", value: 78, max: 100 },
      { label: "Exercise", value: 45, max: 100 },
      { label: "Stand", value: 92, max: 100 },
    ]}
  />

Props

PropTypeDefaultDescription
tracksProgressRingTrack[]——
widthnumber——
heightnumber——
thicknessnumber8Track thickness.
gapnumber4Gap between rings.
showLegendbooleantrueShow legend.

Token integration

CSS VariablePurpose
--s-errorError
--s-successSuccess
--s-infoInfo
--s-warningWarning
--s-borderBorder
--s-radius-fullRadius full
--s-text-mutedText muted
--s-font-monoFont mono
--s-textText