Divider

The Alexa divider responsive component (AlexaDivider) displays a horizontal divider to create visual separation between items.

Import the alexa-layouts package

To use AlexaDivider, import the alexa-layouts package.

The latest version of the alexa-layouts package is 1.2.0. AlexaDivider was introduced in version 1.1.0.

AlexaDivider parameters

All parameters except type are optional.

Name Type Default Description Version added/updated

entities

Array

[]

Array of entity data to bind to this component.

1.2.0

theme

String

dark

Set the dark or light color theme. The selected theme controls the colors used for the component.

1.1.0

type

String

None

Always set to AlexaDivider

1.1.0

AlexaDivider example

{
  "mainTemplate": {
    "item": {
      "type": "AlexaDivider",
      "theme": "dark"
    }
  }
}