Bar
A bar component can be used to show linear progress and is useful in scenarios where you want to show progress. You can use colors for each section.
Syntax
{{< bar-containerbackground-color
="Any valid color in rgba, hex, hsla, hwba (note: every format allows setting alpha/opacity.)"is-full-width
="true|false"margin
="Top, right, bottom, left property in px,em,rem or %. Ex. 15px, 0, 15px, 0 would imply 15px top, 0px right, and so on."padding
="Top, right, bottom, left property in px,em,rem or %. Ex. 15px, 0, 15px, 0 would imply 15px top, 0px right, and so on."text-line-height
="Any valid number with unit like 10px, 1em, 0.8rem, 100vh or 50%"text-size
="Any valid number with unit like 10px, 1em, 0.8rem, 100vh or 50%" >}}
{{< bar-itembackground-color
="Any valid color in rgba, hex, hsla, hwba (note: every format allows setting alpha/opacity.)"is-stretch-evenly
="true|false"text
="Any text"text-color
="Any valid color in rgba, hex, hsla, hwba (note: every format allows setting alpha/opacity.)" >}}
The actual message goes here
{{< /bar-item >}}
{{< /bar-container >}}