Border and/or Background for a section. #492
Replies: 5 comments 6 replies
-
|
Work in progress for the background here: home-assistant/frontend#26369 Hoping it make it to the release ! |
Beta Was this translation helpful? Give feedback.
-
|
Reverted (but could be back) |
Beta Was this translation helpful? Give feedback.
-
|
This is really needed.... |
Beta Was this translation helpful? Give feedback.
-
|
+1 for card-mod type behaviour in core HA. |
Beta Was this translation helpful? Give feedback.
-
|
I honestly think this would be an enormously popular feature! adding a background (even just a background colour) should not be as difficult as it is. Especially as, AFAIK there is no way to do it without disabling the GUI functionality. I really hope that this gets added to HA. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What type of request is this?
New feature for sections
Existing card or feature name
{"View" => "Sections"}
Describe the enhancement
I transferred here this subject already discussed here:
home-assistant/frontend#22288
https://community.home-assistant.io/t/wth-i-cant-specify-a-background-color-per-section/803363
Section are a very powerful way to create dashboard.
It could become even more versatile with some customizing possibilities, like the capability to define, at section level, if a border or background should be displayed around the whole section itself.
Either with the "simple" option, in each section, to have have 2 selectors to display or hide both:
a border
a background
Or even a color pickup option to define in the interface the border/ background color.
At section level, this could allow even very basic user to visually group cards within a section.
This would be fully compatible with the grid design, and would preserve the capability to use or not this feature depending the cases.
Currently the "grouping" effect of section is only visually ensured by enlarged spacing between section. Background / Border could make it more obvious.
Section edit could be enriched with these options.
Use cases
Visual examples
Several visual example already given in previous cases here:
home-assistant/frontend#22288
https://community.home-assistant.io/t/wth-i-cant-specify-a-background-color-per-section/803363
Anything else?
The only workaround today is to create a card that will fit a whole section and add background / border to this card. There are several way to do it:
Often with card-mod needed.
In term of UX, there will be a choice to be made for where to draw this border...

Either in the current space between section, or with an additional padding (currently the only solution with card mimicking a section)
Beta Was this translation helpful? Give feedback.
All reactions