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

# Padding

The object for defining space around the content in a table cell.

```
object Padding
```

## Discussion

Use cell padding to add space around the content in the cell. For example, you can set the amount of padding between the right side of the cell and the content, or the left side of the cell and the content.

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

### Example

```json
{
  "componentStyles": {
    "exampleForTables": {
      "tableStyle": {
        "cells": {
          "verticalAlignment": "top",
          "padding": {
            "left": 6,
            "right": 6,
            "bottom": 4,
            "top": 2
          }
        }
      }
    }
  }
}
```

---

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)