home-assistant.io/source/_lovelace/horizontal-stack.markdown
Ian Richardson b70e06aadf add title option to stack cards (#10512)
* add title option to stack cards

* Update horizontal-stack.markdown

* Update vertical-stack.markdown
2019-10-11 11:36:27 +02:00

1022 B

title, sidebar_label, description
title sidebar_label description
Horizontal Stack Card Horizontal Stack Horizontal stack card allows you to stack together multiple cards, so they always sit next to each other in the space of one column.

Horizontal stack card allows you to stack together multiple cards, so they always sit next to each other in the space of one column.

{% configuration %} type: required: true description: horizontal-stack type: string title: required: false description: Title of Stack type: string cards: required: true description: List of cards. type: list {% endconfiguration %}

Example

type: horizontal-stack
title: Lights
cards:
  - type: picture-entity
    image: /local/bed_1.png
    entity: light.ceiling_lights
  - type: picture-entity
    image: /local/bed_2.png
    entity: light.bed_light

Two picture cards in a horizontal stack card Two picture cards in a horizontal stack card.