Trying to find specific button type

Hello. I’m a little oblivious sometimes, but I have put in a lot of effort on this. I’m trying to find a button that looks like mushroom buttons or bubble buttons that you can configure what happens depending on where you press. I.e. pressing the icon toggles the light, but pressing the name brings up more info or a bubble pop-up card. Prefer editing in the UI but if someone could copy/paste some YAML with a recommendation I could modify it (but I really struggle and creating YAML from scratch)

Consider a custom:button-card.
Imagine a card with several UI elements, each may have own tap_action.