ProgressBar
Feedback & Status
완료 비율을 가로 막대와 값으로 나타내는 진행 표시줄.
Usage
완료까지 남은 정도를 가로 막대로(업로드·단계 진행)
import
import
예제를 복사해 쓸 때 필요한 준비
• @mildang/styled-system 은 이 저장소에서 Panda 가 생성하는 산출물이다. 저장소 안에서는 turbo run ship 이후 쓸 수 있고, 패키지 소비자는 자기 Panda 산출물이나 다른 레이아웃 수단으로 바꿔야 한다.
API Reference
ProgressBar Props
Prop
Type
Default
number
지정 안 함
"brand" | "green" | "orange"
green
string
지정 안 함
ReactNode
지정 안 함
"none" | "left" | "right" | "top"
none
boolean
false
"primary.fill.base" | "neutral.fill.base" | "neutral.fill.high" | "warning.fill.base" | "info.fill.base" | "positive.fill.base" | "critical.fill.base" | "brand.fill.low" | "brand.fill.base" | "chip.fill.bg.brand" | "chip.fill.bg.neutral" | "chip.fill.bg.green" | "chip.fill.bg.orange" | "chip.fill.bg.blue" | "chip.fill.bg.red" | "chip.fill.fg.default" | "chip.fill.fg.icon" | "chip.fill.fg.text" | "chip.fill.fg.orange" | "primary.fill.low" | "colorPalette.fill.base" | "colorPalette.fill.high" | "colorPalette.fill.low" | "colorPalette.fill.bg.brand" | "colorPalette.fill.bg.neutral" | "colorPalette.fill.bg.green" | "colorPalette.fill.bg.orange" | "colorPalette.fill.bg.blue" | "colorPalette.fill.bg.red" | "colorPalette.fill.fg.default" | "colorPalette.fill.fg.icon" | "colorPalette.fill.fg.text" | "colorPalette.fill.fg.orange"
지정 안 함
boolean
true
"sm" | "md" | "lg"
md
"black" | "green"
black
"static" | "conditional"
static
number
0
같은 패밀리
@mildang/design-system/Progress 에서 같이 내보내는 컴포넌트다.
진행률과 로딩
기본 사용
값이 있는 진행률과 오른쪽 라벨을 보여준다.
로딩에서 값으로 전환
loading 상태와 값이 도착한 상태를 전환한다.