---
title: listRowSeparatorLeading
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/horizontalalignment/listrowseparatorleading
---

# listRowSeparatorLeading

A guide marking the leading edge of a List row separator.

## Declaration

```swift
static let listRowSeparatorLeading: HorizontalAlignment
```

## Discussion

Discussion Use this guide to align the leading end of the bottom List row separator with any other horizontal guide of a view that is part of the cell content. The following example shows the row separator aligned with the leading edge of the Text containing the name of food: List {     ForEach(favoriteFoods) { food in         HStack {             Text(food.emoji)                 .font(.system(size: 40))             Text(food.name)                 .alignmentGuide(.listRowSeparatorLeading) {                     $0[.leading]                 }         }     } } To change the visibility or tint of the row separator use respectively listRowSeparator(_:edges:) and listRowSeparatorTint(_:edges:).

## See Also

### Getting guides

- [leading](swiftui/horizontalalignment/leading.md)
- [center](swiftui/horizontalalignment/center.md)
- [trailing](swiftui/horizontalalignment/trailing.md)
- [listRowSeparatorTrailing](swiftui/horizontalalignment/listrowseparatortrailing.md)
