---
title: "init(_:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/horizontaledge/set/init(_:)"
---

# init(_:)

Creates a set of edges containing only the specified horizontal edge.

## Declaration

```swift
init(_ edge: HorizontalEdge)
```
