Merci de votre visite. Cette page est disponible en anglais uniquement.

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.1.0. AlexaDivider was introduced in version 1.1.0.

AlexaDivider parameters

All parameters except type are optional.

Name Type Default Description Version added

theme

String

dark

Colors will be switched depending on the specified theme (light/dark). Default to dark theme

1.1.0

type

String

None

Always set to AlexaDivider

1.1.0

AlexaDivider example

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