# 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: /ko/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).

## Usage note (original, KO)

Quota, upload, or step progress — 분모가 고정된 하나의 비율. 규칙 전문은 [chart-rules.json](../../rules/chart-rules.json).



75%를 넘으면 경고색, 90%를 넘으면 에러색으로 자동 전환된다 — **한도가 아닌 진행률에는 `tone`으로 덮어쓴다.** 색인 40%는 나쁜 상태가 아닌데 임계값 로직이 그렇게 읽히게 만든다.

`valueText`에는 분자와 분모를 함께 적는다. 퍼센트만 있으면 무엇의 82%인지 알 수 없다.

진행 시간이 불확정이면 `.ds-spinner`. 항목이 여러 개면 `BarChart`.

### 1.9.4 상태·접근성 계약


value/max는 유한한 수, max>0일 때 determinate. 화면과 ARIA는 0..max로 같은 값을 정규화한다. max<=0 또는 비유한 입력은 indeterminate로서 aria-valuenow를 생략하고 0% 트랙 및 진행률 미정 설명을 제공한다.

## Examples (from the usage note)

```jsx
<ProgressBar label="월 크레딧" value={82} valueText="82 / 100 GB" />
<ProgressBar label="색인 진행" value={40} tone="brand" />
```
