コンポーネント
進捗
タスクの進捗状況を示します。
使い方
基本
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 | — |