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

# bordered

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

```
@export(implementation) static var bordered: BorderedListStyle { get }
```

## Discussion

Bordered lists 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 list should alternate their
backgrounds, use [`bordered(alternatesRowBackgrounds:)`](/documentation/SwiftUI/ListStyle/bordered(alternatesRowBackgrounds:)).

---

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)