Skip to content
bahtuiv0.6.0

<baht-progress-ring>

Circular single-value “percent used” ring — the round counterpart to <baht-progress>’s linear bar. Center shows the rounded percentage; an optional caption reads what it’s a percentage of.

Tones

<baht-progress-ring value="80" label="of budget used"></baht-progress-ring>
<baht-progress-ring value="45" tone="success" label="complete"></baht-progress-ring>
<baht-progress-ring value="92" tone="danger" label="of storage used"></baht-progress-ring>
NameTypeDefaultDescription
valuenumber00–100, clamped
toneProgressRingTone'primary'Ring color (primary | success | warning | danger)
labelstring''Caption under the percentage, e.g. "of budget used"
sizenumber112Rendered pixel size (square)