SwiftUI

Button Opens URL #

Button(action: {
if let url = URL(string: "https://rknight.me") {
NSWorkspace.shared.open(url)
}
}) {
Text("Website")
.foregroundColor(Color.blue)
}

Using SF Symbols #

Image(systemName: "bolt.circle")
.foregroundColor(.yellow)

Centre VStack #

VStack(alignment: .center)