구성 요소
진행률
작업이 얼마나 진행되었는지 보여줍니다.
사용법
기본
HTML
<bs:bsui-progress value="64" max="100" label="Building" />사용자 지정 눈금
최댓값은 어떤 총계든 설정할 수 있으므로 단계 카운터를 백분율로 변환할 필요가 없습니다.
HTML
<bs:bsui-progress value="3" max="8" label="Step 3 of 8" />빌드 단계
세로로 쌓인 막대 여러 개로 완료, 진행 중, 대기 중인 파이프라인을 표시합니다.
Install dependencies
Compile Tailwind
Warm the cache
HTML
<bs:bsui-stack direction="column" gap="4">
<bs:bsui-stack direction="column" gap="2">
<bs:bsui-text content="Install dependencies" variant="label" tag="span" />
<bs:bsui-progress value="100" max="100" label="Install dependencies" />
</bs:bsui-stack>
<bs:bsui-stack direction="column" gap="2">
<bs:bsui-text content="Compile Tailwind" variant="label" tag="span" />
<bs:bsui-progress value="72" max="100" label="Compile Tailwind" />
</bs:bsui-stack>
<bs:bsui-stack direction="column" gap="2">
<bs:bsui-text content="Warm the cache" variant="label" tag="span" />
<bs:bsui-progress value="0" max="100" label="Warm the cache" />
</bs:bsui-stack>
</bs:bsui-stack>속성
| 속성 | 유형 | 기본값 |
|---|---|---|
value | number | 0 |
max | number | 100 |
label | text | — |