
Settings Header
From syxUI — written for both platforms, not translated between them.
A settings large title with a profile account row.
Navigation · SwiftUI · iOS 17
- navigation
- swiftui
The actual source
HeaderSettings.swift
// Settings Header · syxUI · https://syxui.dev/components/hdr-settings
// Free in any project. Keep this line and credit syxUI where a person can read it.
import SwiftUI
// Settings header - large title + profile row
struct HeaderSettings: View {
var body: some View {
VStack(alignment: .leading, spacing: 14) {
Text("Settings").font(.system(size: 30, weight: .bold))
HStack(spacing: 12) {
Image("person_5").resizable().scaledToFill().frame(width: 56, height: 56).clipShape(Circle())
VStack(alignment: .leading, spacing: 2) {
Text("Sarah Miller").font(.system(size: 17, weight: .semibold))
Text("Apple Account, iCloud & more").font(.system(size: 13)).foregroundStyle(.secondary)
}
Spacer()
Image(systemName: "chevron.right").font(.system(size: 14, weight: .semibold)).foregroundStyle(.secondary)
}.padding(12).background(Color.primary.opacity(0.05), in: RoundedRectangle(cornerRadius: 14, style: .continuous))
}.frame(width: 340)
}
}
iOS 17 · 1 dependencies
Dependencies
- SwiftUI
- person_5 (image asset)
Requires iOS 17


