Docs / Progress
Progress
vel-src: progress.css
Progress bar component for showing completion state. Supports all semantic colors, size variants, striped, shimmer, indeterminate, and glow effects.
| Class | Properties |
|---|
| vel-progress | Base progress track — full width, rounded, surface background |
| vel-progress-bar | The filled inner bar; set width inline (e.g. style="width:60%") |
| vel-progress-primary | Primary gradient fill on the bar |
| vel-progress-success | Success green fill on the bar |
| vel-progress-danger | Danger red fill on the bar |
| vel-progress-warning | Warning amber fill on the bar |
| vel-progress-info | Info blue fill on the bar |
| vel-progress-sm | Thinner track height |
| vel-progress-lg | Taller track height |
| vel-progress-striped | Diagonal stripe pattern overlaid on the bar |
| vel-progress-shimmer | Animated shimmer sweep across the bar |
| vel-progress-indeterminate | Animated bar that loops without a fixed width |
| vel-progress-glow | Adds colored glow box-shadow beneath the bar |
Examples
Basic progress at 60%
<div style="padding:24px;background:#060b17;border-radius:12px;font-family:system-ui,sans-serif;">
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-primary" style="width:60%;"></div>
</div>
</div>
Color variants
<div style="padding:24px;background:#060b17;border-radius:12px;font-family:system-ui,sans-serif;display:flex;flex-direction:column;gap:10px;">
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-primary" style="width:75%;"></div>
</div>
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-success" style="width:50%;"></div>
</div>
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-danger" style="width:30%;"></div>
</div>
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-warning" style="width:65%;"></div>
</div>
</div>
Striped progress
<div style="padding:24px;background:#060b17;border-radius:12px;font-family:system-ui,sans-serif;">
<div class="vel-progress">
<div class="vel-progress-bar vel-progress-primary vel-progress-striped" style="width:70%;"></div>
</div>
</div>