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

# Border

The object for setting borders for component sides or tables.

```
object Border
```

## Discussion

The `Border` object defines a component or a table cell border, including the border stroke style. The border style is the same for all sides of the component or table cell. Use a value of `false` for any side of a border that you don’t want to show.

You can use this object in [`ComponentStyle`](/documentation/AppleNewsFormat/ComponentStyle), [`TableCellStyle`](/documentation/AppleNewsFormat/TableCellStyle), and [`ConditionalTableCellStyle`](/documentation/AppleNewsFormat/ConditionalTableCellStyle).

### Example

```json
{
  "componentStyles": {
    "exampleComponentStyle": {
      "border": {
        "all": {
          "width": 1,
          "color": "#ddd"
        },
        "left": false,
        "right": false
      }
    }
  }
}
```

---

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)