# Upstage Design System — ProgressBar (product)
- context: product · group: data
- source revision: lift-1.2.3 (Lift 1.2.3, zip sha256 8d5d9377c2b4…)
- status: content source-derived · availability implemented · verification static-only
- human docs: /en/components/product/progressbar/ · machine doc: /agent/components/product/progressbar.md
## Required references (read these)
- /components/data/ProgressBar.jsx — implementation · sha256 1f1bd26b638c…
- /components/_types.d.ts — api · key ProgressBarProps
- /components/data/ProgressBar.prompt.md — usage-note · sha256 c40d65fc115b…
- /kit/rules/a11y-contract.json — a11y · key ProgressBar
## API (components/_types.d.ts ProgressBarProps)
- value?: number (default 0)
- max?: number (default 100)
- label?: React.ReactNode
- valueText?: string
- tone?: "success" | "warning" | "error" | "info" | "brand" — "brand"는 75/90% 자동 경고를 끄고 브랜드 색을 유지한다.
- size?: "sm" | "md" | "lg" (default md)
- style?: React.CSSProperties
## Accessibility contract
- keys: -
- aria: role=progressbar, aria-valuenow, aria-valuemin, aria-valuemax, aria-valuetext
## Unverified
- Browser behaviour is not verified here (static source check only).
Supported environment
The Lift 1.2.3 reference implementation is a React 18 function component with inline styles referencing Product tokens (hsl(var(--*))), so styles.product.css must be loaded. The mapping to an npm package could not be verified in this repository.
API
Copied from ProgressBarProps in components/_types.d.ts.
| prop | type | default | doc |
|---|---|---|---|
value | number | 0 | |
max | number | 100 | |
label | React.ReactNode | — | |
valueText | string | — | |
tone | "success" | "warning" | "error" | "info" | "brand" | — | "brand"는 75/90% 자동 경고를 끄고 브랜드 색을 유지한다. |
size | "sm" | "md" | "lg" | md | |
style | React.CSSProperties | — |
Code
One import line plus the example code from the usage note.
import { ProgressBar } from "./components/data/ProgressBar.jsx";<ProgressBar label="월 크레딧" value={82} valueText="82 / 100 GB" />
<ProgressBar label="색인 진행" value={40} tone="brand" />Token bindings
Tokens the implementation references with var(). Names assembled at runtime (e.g. --state-${tone}-fg) are not listed.
--duration-fast, --duration-normal, --ease-decelerate, --font-sans, --foreground, --muted, --muted-foreground, --primary, --state-
Source
components/data/ProgressBar.jsximplementation · sha256 1f1bd26b638c…components/_types.d.tsapi · ProgressBarPropscomponents/data/ProgressBar.prompt.mdusage-note · sha256 c40d65fc115b…kit/rules/a11y-contract.jsona11y · ProgressBar