The two main blocks should be wrapped around some kind of unit. In this example they're wrapped in a
The width of the bar is fed by the controller to make it dynamic, but it can be hard coded as well.
The meter color can be adjusted to provide additional context and feedback. Adding a
meter--error class can indicate a warning or problem the customer may want to address.
The meter should not be the sole indicator of information. It should accompany additional copy for accessibility.