{% assign percentage = include.value | replace: '%', '' | default: 0 %} {% assign color = include.color | default: 'primary-lt' %}
{% include "ui/progress.html" value=percentage class="progressbg-progress" color=color %} {% if include.text %}
{{ include.text }}
{% endif %} {% if include.show-value %}
{{ percentage }}%
{% endif %}