How can I put a value on a button and display it on a text box?

I want to make a button and put a value on it.
For Example Button “A” and display it on a text box and will add character if another button is clicked with a value in it.

by the way I am making a 2d game. :slight_smile:

here example how work with text component Changing Text in new UI tools via script