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.

Show details...

Syntax

{{< bar-container
background-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-item
background-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 >}}

Samples

50%
30%
20%