How to extend standard datatypes?

I’m migrating the package to umbraco 15 (Typescript + Lit), is it possible to extend the standard datatypes (Add buttons for all TextBoxes on the page). I tried using context but I think it is not good for this, in AngularJS it was done via umbProperty and $element.

I also tried to add buttons in DOM, but there is a problem, DOM has no block list elements, so I can’t add buttons. I think there must be some other and correct approach for this.