Summary
Progress bars and meter gauges for loading states, completion tracking, and data visualization.
Components
<StxProgress>
<StxProgress :value="uploadProgress()" max="100" label="Uploading..." />
<StxProgress indeterminate color="blue" size="sm" />
<StxProgress :value="75" color="green" striped animated />Props: value, max (default 100), label, color, size (xs/sm/md/lg), indeterminate, striped, animated, showValue
<StxMeter>
<StxMeter :value="diskUsage()" min="0" max="100" low="50" high="80" label="Disk Usage" />Props: value, min, max, low, high, optimum, label, color (auto from thresholds), showValue
Features
- Signal-reactive (
:value="signal()"updates automatically) - CSS-only animations for indeterminate/striped
- Color transitions based on value thresholds (green → yellow → red)
- Accessible:
role="progressbar",aria-valuenow/min/max