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

# TableStrokeStyle

The object for defining the color, width, and style of a stroke in a table.

```
object TableStrokeStyle
```

## Discussion

You can specify the `color`, `style` (`solid`), and `width` of a stroke in a table. For example, apply style to divider lines between rows.

### Example

```json
{
  "componentStyles": {
    "exampleStyle": {
      "tableStyle": {
        "rows": {
          "backgroundColor": "#fff",
          "divider": {
            "width": 1,
            "color": "#ddd"
          }
        }
      }
    }
  }
}
```

---

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)