Lovelace View Badges

There is a disconnect between what Home Assistant refers to as a “badge” and what Material Design refers to as a “badge”. (Material Design is the design system Home Assistant employs.)

I would like the ability to add Material Design badges to Lovelace view tabs when attention is demanded on a specific tab. For example, my wall-mounted tablet has a tab for my garage doors. I currently have alerts set up to notify us when a door is open. I would like to be able to create some ruleset that would put the red notification badge on my icon, indicating that my attention is needed on my garage lovelace view.

Initially, this could be as simple as looking at a binary_sensor/sensor. If true or greater than 0 respectively, the badge appears. An additional configuration option would allow showing a number (in the case of a sensor) or specify a MDI icon to be shown.