[Sugarcube 2.31.1] How do i create a frame in the UI Bar?

Hi

I have a question.
I have added a UI Bar on the right side which works as it should.
In the UI Bar I would like to create frames that display an image that is determined by a variable.

I have got a picture into the UI Bar using but can only get a picture into the UI Bar but I need 5-6 pictures which are changed by different actions.

So what I’m looking for is illustrated here

image