How can i add a custome element in status bar ,rather than a icon

I read the theia source code about status, it just support add a icon or text in status bar, so how can i add a custome element in status bar ,i want to add a custom progress bar in there.

@lqd1434 By default, the status bar only supports text (and icons embedded in text). You can embed an HTML element in the tooltip, but that’s about it.

If you want to add more complicated rendering, you would need to override the existing StatusBarImpl and add the behavior yourself.

OK, thanks