Progress
A bar and a ring on ui-sdk's Progress. The fill shifts hue from light at its tail to deep at its leading edge, so the edge is always the richest colour, on a 20% tint of the tone. A complete ring turns to a diagonal light-to-deep gradient, with a check in the success tone.
BetaReady to use. Its API can still change in a minor release; the changelog says when.
import { Progress, ProgressRing } from "@leap-crm/design-system";Playground
Change a prop and the component follows. Its code is under Props.
Progress
Props
value
max
tone
ProgressRing
Props
value
max
tone
size
Best practices
When to use it, and the rules that apply in particular places.
| Guidance | Practice |
|---|---|
| Do | Name every bar and ring with aria-label, like "Intake completed". A bare percentage means nothing out of context. |
| Do | Use ProgressRing when a count reads better than a bar, and pass it as children, like "3/5" intake questions. Use 32 or 48 in rows and cards, and 100 only as a page's hero. |
| Do | Set tone="orange" while the next step waits on someone else, like a client signing a costs agreement, and success once it is done. |
| Don't | Use it for work with no known end, like a save or a search. Use Spinner, so the bar never sits at a made-up value. |
| Don't | Let the tone be the only sign of done or waiting. Say it in the text beside the bar too. |
Props
Progress
| Prop | Type | Default | Description |
|---|---|---|---|
| value * | number | — | Between 0 and max. |
| max | number | 100 | The value that means done. 100 by default. |
| tone | "navy" | "orange" | "success" | "navy" | Navy for progress, orange for something waiting on someone, success once done. |
| aria-label * | string | — | Names the bar for screen readers, like "Intake completed". Required: a bare percentage means nothing out of context. |
| className | string | — | Classes added to the root element, merged with its own. Tokens only. |
ProgressRing
| Prop | Type | Default | Description |
|---|---|---|---|
| value * | number | — | Between 0 and max. |
| max | number | 100 | The value that means done. 100 by default. |
| tone | "navy" | "orange" | "success" | "navy" | navy for progress, orange for something waiting on someone, success when done. |
| size | 32 | 48 | 100 | 48 | 32 and 48 in rows and cards, 100 as a page's hero. |
| children | ReactNode | — | What sits in the middle, like "3/5". The percentage by default; a check once complete in the success tone. |
| aria-label * | string | — | Names the ring for screen readers, like "Intake questions answered". Required: a bare percentage means nothing out of context. |
| className | string | — | Classes added to the root element, merged with its own. Tokens only. |
Code
What the playground shows, ready to copy.
Progress
import { Progress } from "@leap-crm/design-system";
<Progress aria-label="Intake progress" value={60} />ProgressRing
import { ProgressRing } from "@leap-crm/design-system";
<ProgressRing aria-label="Intake progress" value={60} />Moving
The fill and the arc ease to a new value.
What the examples share
The imports and the scaffolding the examples above call. The scaffolding lives in this page, not in the library.
import { useState } from "react";
import { Button, Progress, ProgressRing, type ProgressTone } from "@leap-crm/design-system";
const tones: ProgressTone[] = ["navy", "orange", "success"];
function Stepper() {
const [value, setValue] = useState(40);
return (
<div className="flex flex-col gap-4">
<div className="flex items-center gap-4">
<ProgressRing value={value} aria-label="Intake completed" />
<Progress
value={value}
aria-label="Intake completed"
className="w-60"
/>
</div>
<div className="flex gap-2">
<Button
size="sm"
intent="outline"
onClick={() => setValue(v => Math.max(0, v - 20))}
>
Back
</Button>
<Button
size="sm"
intent="outline"
onClick={() => setValue(v => Math.min(100, v + 20))}
>
Next step
</Button>
</div>
</div>
);
}




