{{-- Progress bar (DESIGN.md Components > Progress bars). role="img" with the numbers in the label; the fill width is the one allowed inline style. Props: value (percent, clamped to 0..100), label (states the numbers, e.g. "1 240 av 4 000 brev använda"). --}} @props(['value' => 0, 'label']) @php $width = round(max(0, min(100, (float) $value)), 1); @endphp