Progress

Displays an indicator showing the completion progress of a task.

Example Usage

With Value Text

You can display the percentage text by setting the showValue prop.

45%

Variants

Use the variant prop to convey different semantic meanings.

`} />

Sizes

`} />

Animations & Labels

Use the animation prop for continuous feedback, and configure label alongside labelPosition to provide better context.

Downloading Data... 85%
Downloading Data... 85%
`} />

API Reference

속성
설명
타입
기본값

value

진행률 표시줄의 현재 값. number 0

max

진행률 표시줄의 최대 값. number 100

size

진행률 표시줄의 크기 (sm, md, lg, xl). 'sm' | 'md' | 'lg' | 'xl' 'md'

shape

진행률 표시줄의 모양 (rounded, pill, square). 'rounded' | 'pill' | 'square' 'pill'

variant

의미론적 스타일 변형 (default, success, warning, error). 'default' | 'success' | 'warning' | 'error' 'default'

animation

애니메이션 스타일 (none, snake, infinite). 'none' | 'snake' | 'infinite' 'none'

showValue

숫자 백분율 값을 표시할지 여부. boolean false

label

진행률 표시줄과 함께 표시할 텍스트 레이블. string -

labelPosition

레이블 및 값의 위치 (top, right). 'top' | 'right' 'right'