<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/TableStyle/bordered",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI10TableStylePA2A08BorderedcD0VRszrlE8borderedAEvpZ"
  },
  "title" : "bordered"
}
-->

# bordered

The table style that describes the behavior and appearance of a table
with standard border.

```
@MainActor @export(implementation) @preconcurrency static var bordered: BorderedTableStyle { get }
```

## Discussion

Bordered tables are expected to be inset from their outer containers,
but do not have inset style rows or selection.

To customize whether the rows of the table should alternate their
backgrounds, use [`alternatingRowBackgrounds(_:)`](/documentation/SwiftUI/View/alternatingRowBackgrounds(_:)).

---

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)