Convert to using an HTML custom element for the indicator