Nextion display - dual state button

Hello!
I would like to have a small switch button with status - like the one in Lovelace - in my nextion display… any idea on how to make it? It have to change the status based on the actual state of the switch/light.
I could not find any solution on this forum… I need the “nextion editor” and eventually the esphome part.
Thanks a lot

Haven’t done anything like this myself, but planning to soon, see links below for options to accomplish what you are looking for.