<!--
{
  "availability" : [
    "Apple News Format: 1.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppleNews",
  "identifier" : "/documentation/AppleNewsFormat/Divider",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple News Format"
    ],
    "preciseIdentifier" : "data:news_format:Divider"
  },
  "title" : "Divider"
}
-->

# Divider

The component for defining a horizontal line to visually divide parts of your article.

```
object Divider
```

## Discussion

A `divider` component appears as a horizontal line to create a visual division. The `divider` component can be used to separate title components and section components, and so on.

### Example

```json
{
  "components": [
    {
      "role": "heading1",
      "text": "Heading"
    },
    {
      "role": "divider",
      "stroke": {
        "width": 3,
        "color": "#D5B327"
      }
    }
  ]
}
```

## See Also

  <doc://com.apple.applenews/documentation/AppleNews/adding-a-divider>

## Relationships

### Inherits From

[`Component`](/documentation/AppleNewsFormat/Component)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)