npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-progress-circle.json --yesProgress circle
ProKnown progress as a ring that fills clockwise from the top, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
import { ProgressCircle } from '@/components/ui/goop/progress-circle';
import { Item, ItemContent, ItemTitle, ItemDescription, ItemActions } from '@/components/ui/goop/item';
<>
<Item>
<ItemContent>
<ItemTitle>report.pdf</ItemTitle>
<ItemDescription>2.4 MB</ItemDescription>
</ItemContent>
<ItemActions>
<ProgressCircle value={60} aria-label="Uploading report.pdf" />
</ItemActions>
</Item>
<ProgressCircle
size="lg"
value={3}
max={5}
role="meter"
aria-label="Onboarding"
aria-valuetext="3 of 5 steps done"
>
3/5
</ProgressCircle>
</>When to use
- Known progress as a ring that fills clockwise from the top.
- Also called: progress ring.
Installation
Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Progress circle on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-progress-circle.json --yesAdd the Goop Progress circle to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { ProgressCircle } from '@/components/ui/goop/progress-circle';
import { Item, ItemContent, ItemTitle, ItemDescription, ItemActions } from '@/components/ui/goop/item';
<>
<Item>
<ItemContent>
<ItemTitle>report.pdf</ItemTitle>
<ItemDescription>2.4 MB</ItemDescription>
</ItemContent>
<ItemActions>
<ProgressCircle value={60} aria-label="Uploading report.pdf" />
</ItemActions>
</Item>
<ProgressCircle
size="lg"
value={3}
max={5}
role="meter"
aria-label="Onboarding"
aria-valuetext="3 of 5 steps done"
>
3/5
</ProgressCircle>
</>- Fits: overview, list: row.
- Also known as: ProgressRing, CircularProgress, RadialProgress, RingProgress, ProgressDonut.
- Show known progress where a bar has no room (sm on a line, md at a row's end, lg with its number in a tile); unknown waits use Spinner, wide amounts Progress or Meter. Words beside the ring go in its
label, never a sibling of yours. - height, width, gap, text, motion: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| value? | number | null | How far the work has gone, from 0 to max; below 0 draws 0, above max draws max, NaN draws 0. |
| max? | number = 100 | The value at which the ring is closed; one that is 0, negative or not finite reads as 100. |
| size? | 'sm' | 'md' | 'lg' = 'md' | sm 16 px on a line of words, md 32 px at a row's end, lg 48 px in a tile with its figure. |
| showValue? | boolean | Whether the figure stands in the ring's middle: the share ("60%"; on a phone the number alone, "60", where the theme's smallest type step is larger), or the children instead ("3/5"). |
| children? | ReactNode | The figure to show instead of the share at lg ("3/5"); hidden from a reader, who hears the values. |
| label? | ReactNode | Words beside the ring ("82%", "3 of 5"), 8 px after it on its line: the ring and its words then stand in one holder, and the ring's own props (its name, its values, className) stay on the ring. |
- data-slot values (to select a part by): progress-circle, progress-circle-fallback, progress-circle-indicator, progress-circle-label, progress-circle-track, progress-circle-value, progress-circle-wrapper
Motion
- The part sets its own motion: add no transition or animation of your own.
- How the theme moves, and how to move your own parts the same way: Motion.
Notes for AI
Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.