Tile card light?

Is there a way to create a custom card like this tile card with modes and features except for lights? Like it would have a on and off button?

In short yes. There is a way - lots of ways in fact.

But before you start. Go check out the mushroom card set in HACS. You will see a strange resemblance. If what you want isn’t natively in Mushroom l, you can probably hack something together with a combination of mushroom template cards and one or more of the stack cards.
This card is one im working on for my Span electrical panel so it represents a controllable circuit.


To the left that’s a mushroom template referring to a switch with some fancy, the middle has a mushroom title card above custom bar-card and the right is a stack of mushroom chips. They were all put in place with the custom layout card and finally dropped inside a custom stack-in-card with a border.

No i will not share the exact card code rn it’s currently broken mid redoing the styles.

Build an element l, stack it inside another, inside another and voila purpose built mushroom - er - tile style controlm

Do you know how to do it? Like what cards and stuff your using and maybe like a little code?