<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/BorderedListStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI17BorderedListStyleV"
  },
  "title" : "BorderedListStyle"
}
-->

# BorderedListStyle

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

```
struct BorderedListStyle
```

## Overview

You can also use [`bordered`](/documentation/SwiftUI/ListStyle/bordered) to construct this style.

## Topics

### Creating the list style

[`init()`](/documentation/SwiftUI/BorderedListStyle/init())

Creates a bordered list style.

[`init(alternatesRowBackgrounds: Bool)`](/documentation/SwiftUI/BorderedListStyle/init(alternatesRowBackgrounds:))

Creates a bordered list style with optional alternating row backgrounds.

## Relationships

### Conforms To

[`ListStyle`](/documentation/SwiftUI/ListStyle)

---

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)