Can this be done in LVGL?

Hello, it’s my first time trying out LVGL and I am trying to do something similar to this:

I want to be able to configure the background color, the border color and some simple stuff like that. Control the width and height, etc…

What would be the preferred way of doing something like this? A whole new widget, or a combination of existing ones, like a canvas with a label inside maybe…?

Thank you beforehand!

I think it could be easily done by combination of existing components, two labels and one container. If you are asking about what is the best practice, I don’t know but for me I prefer the first method because it is easier and can be understood and maintained.