Base
JS behaviour
Progress ring
The progress ring with a Persian number in the middle (or any slot); size and thickness dials — a usage dashboard.
Real scenarios
The component as it is used in a product — not a specimen grid.
This month on the team plan
Each ring draws itself in on reveal and rests under prefers-reduced-motion. The middle one swaps the built-in percent for a slot of its own.
At 91% you have 11 days to act
Raise the plan or trim the video CDN — the ring turns red at 95%.
Small, for cards and rows
A size dial keeps the ring legible at row height; success tone for finished migrations.
A single hero number
XL ring with a thinner stroke and the score in the slot — the sign-in health of the whole region.
Sign-in success, 30 days
all regions
iad1 · fra1 · syd1
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| value | number | 0 | Percent 0 to 100. |
| size / thickness | string | null | Ring diameter and stroke width via CSS variables. |
| tone | string | accent | Same tones as progress. |
Snippet
<x-nx::progress-ring :value="68" label="فضای ابری" />
<x-nx::progress-ring :value="91" tone="warning" size="4.5rem">
۹۱٪
</x-nx::progress-ring>