Progress bar
Progress of a known task or quota.
Add the source to a shadcn project
npx shadcn@latest add https://docs.atomus.io/r/progress-bar.jsonOpen in v0Installs the component source, its CSS and the Atomus tokens into components/atomus/. How the registry works
In Figma
Section titled “In Figma”From guidelines/components/progress-loading.md · Open in Figma: ProgressBar
Properties, variants and anatomy of the Figma components. React props use the same names.
Progress bar
Section titled “Progress bar”Linear progress.
Variants: 3
| Property | Type / options |
|---|---|
| Label | None · Right · Bottom |
Progress circle
Section titled “Progress circle”Circular progress.
Variants: 3
| Property | Type / options |
|---|---|
| Size | sm · md · lg |
import { ProgressBar } from '@stanvision/atomus-react';
<ProgressBar value={64} label="Storage used" labelPosition="right" />Shows progress of a known task or quota.
Props at a glance
Section titled “Props at a glance”Full types and defaults are in React API at the end of the page.
value0–100;label— the accessible name;labelPositionnone·right·bottom(Figma: Label).
Design guidance
Section titled “Design guidance”From the Figma guidelines.
Do
- Show the percentage when progress is known.
- Use Loading indicator when it is not.
- Label what is progressing.
Forbidden
- Never use a progress bar for steps — use Progress steps.
- Never animate backwards.
- Never show several bars for one task.
React API
Section titled “React API”Generated from react/src/components by scripts/gen-react-api.mjs — the same tables agents read in guidelines/components/progress-loading.md.
Use only these props; anything else is not part of the API.
ProgressBar
Section titled “ProgressBar”import { ProgressBar } from '@stanvision/atomus-react'; — source: react/src/components/ProgressBar.tsx
| Prop | Type | Default | Description |
|---|---|---|---|
value |
number |
required | 0–100 |
labelPosition |
'none' | 'right' | 'bottom' |
'right' |
Figma: Label — where the percentage sits |
label |
string |
'Progress' |
Accessible name, e.g. “Storage used” |
Also accepts every native <div> attribute (id, role, onClick …).