Swift95

Divider95

A two-pixel horizontal or vertical etched separator.

Divider95 uses paired dark and light theme colors to separate adjacent regions without introducing container chrome.

Horizontal Divider95 separating two labels
The divider shown in a small, practical layout rendered by the snippet below.

Use it

import Swift95
import SwiftUI

struct Divider95Example: View {
  var body: some View {
    VStack(alignment: .leading, spacing: 10) {
      Text95("General")
      Divider95()
      Text95("Advanced")
    }
    .frame(width: 420)
  }
}

Essential behavior

AxisHorizontal is the default; pass .vertical for side-by-side content.
TokensThe etched pair uses active theme border colors.
LayoutThe divider expands along its primary axis.

Related

Open the complete Divider95 API reference →