<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TableRow",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI8TableRowV"
  },
  "title" : "TableRow"
}
-->

# TableRow

A row that represents a data value in a table.

```
nonisolated struct TableRow<Value> where Value : Identifiable
```

## Overview

Create instances of [`TableRow`](/documentation/SwiftUI/TableRow) in the closure you provide to the
`rows` parameter in [`Table`](/documentation/SwiftUI/Table) initializers that take columns and rows.
The table provides the value of a row to each column of a table, which produces
the cells for each row in the column.

## Topics

### Creating a row

[`init(_:)`](/documentation/SwiftUI/TableRow/init(_:))

Creates a table row for the given value.



---

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)