---
title: HorizontalEdge
framework: swiftui
role: symbol
role_heading: Enumeration
path: swiftui/horizontaledge
---

# HorizontalEdge

An edge on the horizontal axis.

## Declaration

```swift
@frozen enum HorizontalEdge
```

## Overview

Overview Use a horizontal edge for tasks like setting a swipe action with the swipeActions(edge:allowsFullSwipe:content:) view modifier. The positions of the leading and trailing edges depend on the locale chosen by the user.

## Topics

### Getting the edges

- [HorizontalEdge.leading](swiftui/horizontaledge/leading.md)
- [HorizontalEdge.trailing](swiftui/horizontaledge/trailing.md)

### Accessing sets of edges

- [HorizontalEdge.Set](swiftui/horizontaledge/set.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [CaseIterable](swift/caseiterable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Accessing edges, regions, and layouts

- [Edge](swiftui/edge.md)
- [Edge3D](swiftui/edge3d.md)
- [VerticalEdge](swiftui/verticaledge.md)
- [EdgeInsets](swiftui/edgeinsets.md)
- [EdgeInsets3D](swiftui/edgeinsets3d.md)
