Spectrum Components API

Schema version: 6.0.0

Divider

Dividers bring clarity to a layout by grouping and dividing content in close proximity. They can also be used to establish rhythm and hierarchy.

PropertyValuesDefault valueRequired
size
s / m / l
s
orientation
horizontal / vertical
horizontal
{
  "slug": "divider",
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
  "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/divider.json",
  "title": "Divider",
  "description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity. They can also be used to establish rhythm and hierarchy.",
  "meta": {
    "category": "containers",
    "documentationUrl": "https://spectrum.adobe.com/page/divider/"
  },
  "type": "object",
  "properties": {
    "size": {
      "type": "string",
      "enum": [
        "s",
        "m",
        "l"
      ],
      "default": "s"
    },
    "orientation": {
      "type": "string",
      "enum": [
        "horizontal",
        "vertical"
      ],
      "default": "horizontal"
    }
  }
}
← Back to home