Progress Bar

A Bootstrap progress bar. Use value and max instead of the old 3.x progress attribute.

Progress bar examples
Progress bar examples

Examples

[bsv-progress]
[bsv-progress style="danger" striped="yes" animated="yes" height="2rem" value="43" max="100" label="43%"]

Format

[bsv-progress parameter="value" ...]

Parameters

Parameter Description Default
value Current value. Clamped between 0 and max. 0
max Maximum value. Values below 1 are treated as 1. 100
style Optional Bootstrap color style for the bar. empty
striped Use a striped bar: yes or no. no
animated Animate the stripes: yes or no. Implies striped. no
label Label inside the bar. Defaults to the rounded percentage. percentage
height Optional bar height using px, %, em or rem. default

The bar exposes role="progressbar", aria-valuenow, aria-valuemin and aria-valuemax.

Last updated: