UI component "Button"

Hi everyone, I need to realize the UI component “button” with it’s own logic, that has methods or properties which allows to change: Number, color, lock-unlock and other. But there is one important detail - if the number that is centralized on the button will be longer than five symbols - the button must expand. Do you know where to find some examples, or may be you can give some advices :slight_smile: Thanks! :slight_smile: