I’m new to home assistant and after a few months working my way through integrations and automations, it is time for me to start focusing on dashboards.
I’d like to build something similar to the Creston OS design. It is clean and would be easy enough for the whole family to adopt it. The idea is to use out of the box cards and functionality as much as possible (combined with the Google Theme). I’m open to custom cards or something like that as a last resort.
I experimented with with the horizontal stack and grid cards.
Adding a title to those kind of give me that section separation but if I make it look exactly the way I want on a mobile device it won’t look good on a tablet, I can’t figure out how to make the grid or stack responsive.
I’m shooting for something as close to this as possible:
Thanks, I think those cards are perfect for what I’m trying to achieve but the question remains, how can I make it response?
Take a look at the screenshot, section quick actions shows as a single row in the tablet view, taking all available with. In the phone screen it is two rows instead.
I see what you are saying but I don’t think it works for the very same reasons I described.
I’m coming to a conclusion it is not possible with out of the box components (which comes as a shock to me). They say a picture is worth a thousand words so here is a picture of what you suggested. I put it together really quick by just throwing buttons out there for some of the lights I have downstairs:
The vertical stack has a fixed with, it won’t screech to fill the available space.
The horizontal stack is now limited by the fixed width of the vertical stack.
The horizontal stack will shrink items to fit in the available with. No matter how many items you throw in there they will be in one row within that available space.
I can see it working for different use cases but not for these one.
It looks awful on a desktop or large screen tablet (when compared to the desired effect).
And it looks unusable on a mobile device since the buttons will keep shrinking to fit in the same row instead of breaking into another one.