List Row Background

Places a custom background view behind a list row item.

List Row Background - iOS Light Mode Preview

Platform Compatibility

iOS 13.0+ iPadOS 13.0+ macOS 10.15+ watchOS 6.0+ tvOS 13.0+ visionOS 1.0+

Tags

SwiftUI Code

Docs
List {
  Section("Header") {
    Text("Foo")
      .listRowBackground(Color.accentColor)
    Text("Bar")
  }
}

Found an issue or have a suggestion?

Created: August 10, 2025Updated: August 10, 2025