Skip to content

Progress bar

Progress of a known task or quota.

64%
25%
Progress barLive · light and dark follow the theme switch

Add the source to a shadcn project

npx shadcn@latest add https://docs.atomus.io/r/progress-bar.jsonOpen in v0

Installs the component source, its CSS and the Atomus tokens into components/atomus/. How the registry works

From guidelines/components/progress-loading.md · Open in Figma: ProgressBar

Properties, variants and anatomy of the Figma components. React props use the same names.

Linear progress.

Variants: 3

Property Type / options
Label None · Right · Bottom

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.

Full types and defaults are in React API at the end of the page.

  • value 0–100; label — the accessible name; labelPosition none · right · bottom (Figma: Label).

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.

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.

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 …).