@Stylianos Gakis i am building self contained component functions and I do not want to rely on anything else but what Compose UI (and the standard libraries) gives you. that's why I don't want to create my own (extension) functions for this. I could have been more clear in my original message, but my brain was fried after hours of coding 😅
thanks for linking @Ian Lake