Progress ring
import { ProgressRing, ProgressRingGlyph } from "@arcadia/ui";ProgressRing
valuerequired- number
- Fraction filled, 0..1 (clamped).
size- "sm" | "md" | "lg" | "text"
- Default:
"md" - 12 / 14 / 16 px, or
text: in an icon's slot, the size and stroke of the icon of the text style it stands in. The context meter. level- "normal" | "warm" | "hot"
- Colour level. Default: derived from
valuewithwarmAt/hotAt. warmAt- number
- Default:
0.6 - Yellow from here.
hotAt- number
- Default:
0.85 - Red from here.
label- string
- Accessible name ("Context used"). With a label the ring is a
meter(value, min, max andvalueText); without one it is decorative, for use inside a labelled button. valueText- string
- Spoken value, e.g. "61k of 1,008k tokens". Default: the rounded percentage.
mark- number
- A tick at this fraction, 0..1.
filled- boolean
- Default:
false - The value as a filled sector inside the track, not an arc on it: a meter at rest that never reads as a spinner.
rootStyle- RootStyle<ProgressRingKnobs>
- Typed StyleX override: layout and the
--progress-ring-*knobs.
Rest props go to <span> props and render.